lib: fix conversion warnings with gcc on macOS

This commit is contained in:
Jay Satiro 2023-05-19 23:44:07 -04:00 committed by Daniel Stenberg
parent 954c7dfb91
commit 6f93d5f604
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 5 additions and 5 deletions

View file

@ -102,7 +102,7 @@ int main(void)
if(timeout.tv_sec > 1)
timeout.tv_sec = 1;
else
timeout.tv_usec = (curl_timeo % 1000) * 1000;
timeout.tv_usec = (int)(curl_timeo % 1000) * 1000;
}
/* get file descriptors from the transfers */