diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-12-20 00:38:32 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-12-20 00:38:32 +0000 |
commit | 62f1e9f6653037cf787d03af0370a7c822b41b30 (patch) | |
tree | 2427283b88a0ab96b4f976b00d1e1b775eef910f /src/time.c | |
parent | 4fc947676f34bb8157afaf0038c042ebcca16b1c (diff) | |
download | libnsutils-release/0.0.1.tar.gz libnsutils-release/0.0.1.tar.bz2 |
Fix build on m68k amigaosrelease/0.0.1
Diffstat (limited to 'src/time.c')
-rw-r--r-- | src/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |