From a19fefb0706f939d2df7a76704ee549fecb1c4fd Mon Sep 17 00:00:00 2001 From: Eric Gallager Date: Mon, 12 Feb 2018 01:42:47 -0500 Subject: build: add picky compiler warning flags for gcc 6 and 7 --- lib/timeval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/timeval.c') 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; } -- cgit v1.2.1