From 5c8fc7dce9668a141a01781159817552a7cb4ef8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 20 Oct 2007 15:11:51 +0000 Subject: Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits --- lib/hostares.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostares.c') diff --git a/lib/hostares.c b/lib/hostares.c index 81707ac7c..6a70c8276 100644 --- a/lib/hostares.c +++ b/lib/hostares.c @@ -255,7 +255,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn, tvp = ares_timeout(data->state.areschannel, &store, &tv); /* use the timeout period ares returned to us above */ - ares_waitperform(conn, tvp->tv_sec * 1000 + tvp->tv_usec/1000); + ares_waitperform(conn, (int)(tvp->tv_sec * 1000 + tvp->tv_usec/1000)); if(conn->async.done) break; -- cgit v1.2.3