diff options
Diffstat (limited to 'tests/server/util.c')
-rw-r--r-- | tests/server/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/util.c b/tests/server/util.c index df1e35da0..c3935f58a 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -422,7 +422,7 @@ static struct timeval tvnow(void) DWORD milliseconds = GetTickCount(); #endif now.tv_sec = (long)(milliseconds / 1000); - now.tv_usec = (milliseconds % 1000) * 1000; + now.tv_usec = (long)((milliseconds % 1000) * 1000); return now; } |