From 62f1e9f6653037cf787d03af0370a7c822b41b30 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Dec 2014 00:38:32 +0000 Subject: Fix build on m68k amigaos --- src/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/time.c b/src/time.c index 94139c3..1f79857 100644 --- a/src/time.c +++ b/src/time.c @@ -63,7 +63,7 @@ nsuerror nsu_getmonotonic_ms(uint64_t *current_out) #elif defined(__amiga) struct EClockVal eclockval; int freq = 0; - uint64 eclock; + uint64_t eclock; /* NB: The calling task must already have opened timer.device * and obtained the interface. @@ -74,7 +74,7 @@ nsuerror nsu_getmonotonic_ms(uint64_t *current_out) #endif freq = ReadEClock(&eclockval) / 1000; - eclock = ((uint64)eclockval.ev_hi << 32) | (eclockval.ev_lo); + eclock = ((uint64_t)eclockval.ev_hi << 32) | (eclockval.ev_lo); current = eclock / freq; #else #warning "Using dodgy gettimeofday() fallback" -- cgit v1.2.3