diff --git a/src/tval.c b/src/tval.c index 4218742..a2577e8 100644 --- a/src/tval.c +++ b/src/tval.c @@ -45,7 +45,7 @@ uc_tvcmp(const struct timeval *a, const struct timeval *b) } struct timeval * -uc_to2tv(struct timeval *dst, unsigned long ms) +uc_ms2tv(struct timeval *dst, unsigned long long ms) { dst->tv_sec = ms / 1000; dst->tv_usec = ms % 1000 * 1000;