mirror of
https://github.com/curl/curl.git
synced 2026-08-11 07:41:00 +03:00
build: add picky compiler warning flags for gcc 6 and 7
This commit is contained in:
parent
4e884615d1
commit
a19fefb070
6 changed files with 25 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue