diff options
author | Eric Gallager <egall@gwmail.gwu.edu> | 2018-02-12 01:42:47 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-07 11:18:58 +0200 |
commit | a19fefb0706f939d2df7a76704ee549fecb1c4fd (patch) | |
tree | 46ffddbc152bbf3753e132af5997df91b146ba3c /lib/timeval.c | |
parent | 4e884615d1702914c1ec4c182f94eb9b8efc7a16 (diff) | |
download | curl-a19fefb0706f939d2df7a76704ee549fecb1c4fd.tar.gz |
build: add picky compiler warning flags for gcc 6 and 7
Diffstat (limited to 'lib/timeval.c')
-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 d11b95197..f4bf83531 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -110,7 +110,7 @@ struct curltime Curl_now(void) usecs /= 1000; cnow.tv_sec = usecs / 1000000; - cnow.tv_usec = usecs % 1000000; + cnow.tv_usec = (int)(usecs % 1000000); return cnow; } |