aboutsummaryrefslogtreecommitdiff
path: root/lib/hostares.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostares.c')
-rw-r--r--lib/hostares.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostares.c b/lib/hostares.c
index 01b214291..a00fefa0d 100644
--- a/lib/hostares.c
+++ b/lib/hostares.c
@@ -251,7 +251,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
second is left, otherwise just use 1000ms to make sure the progress
callback gets called frequent enough */
if(!tvp->tv_sec)
- timeout_ms = tvp->tv_usec/1000;
+ timeout_ms = (int)(tvp->tv_usec/1000);
else
timeout_ms = 1000;