build: add picky compiler warning flags for gcc 6 and 7

This commit is contained in:
Eric Gallager 2018-02-12 01:42:47 -05:00 committed by Daniel Stenberg
parent 4e884615d1
commit a19fefb070
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 25 additions and 5 deletions

View file

@ -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;
}