summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-08-09 19:25:05 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-08-09 19:25:05 (GMT)
commite23e67d6d15bdb73a96db836a6275a08ce7adc08 (patch)
tree5c86eb6ac1ca9ebff2fcaf58d99949188c80a7b1
parent59ceb7f10f39ddb205a14779de3ba58224f93254 (diff)
downloadlibnsutils-e23e67d6d15bdb73a96db836a6275a08ce7adc08.tar.gz
libnsutils-e23e67d6d15bdb73a96db836a6275a08ce7adc08.tar.bz2
The EClock frequency is unsigned
-rw-r--r--src/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time.c b/src/time.c
index 1f79857..8c856d7 100644
--- a/src/time.c
+++ b/src/time.c
@@ -62,7 +62,7 @@ nsuerror nsu_getmonotonic_ms(uint64_t *current_out)
current = (mts.tv_sec * 1000) + (mts.tv_nsec / 1000000);
#elif defined(__amiga)
struct EClockVal eclockval;
- int freq = 0;
+ uint32 freq = 0;
uint64_t eclock;
/* NB: The calling task must already have opened timer.device