aboutsummaryrefslogtreecommitdiff
path: root/util/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/time.c')
-rw-r--r--util/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/time.c b/util/time.c
index 06e42b40..c561d23a 100644
--- a/util/time.c
+++ b/util/time.c
@@ -15,7 +15,7 @@ void timespec_from_nsec(struct timespec *r, int64_t nsec) {
r->tv_nsec = nsec % NSEC_PER_SEC;
}
-uint32_t get_current_time_msec(void) {
+int64_t get_current_time_msec(void) {
struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
return timespec_to_msec(&now);