summaryrefslogtreecommitdiff
path: root/lib/hostares.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-05-20 20:15:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-20 23:16:46 +0200
commit700335103e039a9f56adf24cfe95fb846caebe61 (patch)
tree06af1ed3d8b9e32ab141fed2977f128eca996f69 /lib/hostares.c
parent368fd5d27bf89a294d10b63bdacb9ecd7cf8c30d (diff)
downloadcurl-700335103e039a9f56adf24cfe95fb846caebe61.tar.gz
Fix build warnings.
Signed-off-by: Ben Greear <greearb@candelatech.com>
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;