diff options
-rw-r--r-- | lib/timeval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeval.c b/lib/timeval.c index 66f923a8e..d11b95197 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -128,7 +128,7 @@ struct curltime Curl_now(void) struct curltime ret; (void)gettimeofday(&now, NULL); ret.tv_sec = now.tv_sec; - ret.tv_usec = now.tv_usec; + ret.tv_usec = (int)now.tv_usec; return ret; } |