time-util return uint64_t from gettime_ms()

pull/40/head
Andri Yngvason 2020-04-26 13:37:37 +00:00
parent 1e53e5e45e
commit 36f0480038
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static inline uint64_t gettime_us(void)
return timespec_to_us(&ts); return timespec_to_us(&ts);
} }
static inline uint32_t gettime_ms(void) static inline uint64_t gettime_ms(void)
{ {
struct timespec ts = { 0 }; struct timespec ts = { 0 };
clock_gettime(CLOCK_MONOTONIC, &ts); clock_gettime(CLOCK_MONOTONIC, &ts);