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

@ -65,7 +65,7 @@ size_t tool_read_cb(char *buffer, size_t sz, size_t nmemb, void *userdata)
/* wait this long at the most */
timeout.tv_sec = wait/1000;
timeout.tv_usec = (wait%1000)*1000;
timeout.tv_usec = (int)((wait%1000)*1000);
FD_ZERO(&bits);
FD_SET(in->fd, &bits);