diff options
author | Sergei Nikulov <snikulov@users.noreply.github.com> | 2018-03-22 16:34:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 16:34:11 +0300 |
commit | 6231a89aa3961e357d7eb717548463985de2d08d (patch) | |
tree | a5a389c668ccb8dcf3c89a2e765a96fbb5490847 /lib | |
parent | db1b2c7fe9b093f8c3d33304a47657ea4a6e65b4 (diff) |
timeval: remove compilation warning by casting (#2417)
This is fixes #2358
Diffstat (limited to 'lib')
-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; } |