aboutsummaryrefslogtreecommitdiff
path: root/lib/asyn-ares.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-21 14:10:17 +0200
committerYang Tse <yangsita@gmail.com>2011-05-21 14:10:17 +0200
commitfce7276f5446e7fc1003b98a9a752a3a42a0a247 (patch)
treefbe4ca6bcf1657087db101605247205e226dc392 /lib/asyn-ares.c
parent004d84fcc17e3cb46a5cfed694ddcd122bd2f4ba (diff)
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib/asyn-ares.c')
-rw-r--r--lib/asyn-ares.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c
index 5710400bc..6027cc7ba 100644
--- a/lib/asyn-ares.c
+++ b/lib/asyn-ares.c
@@ -140,7 +140,7 @@ void Curl_resolver_global_cleanup(void)
* URL-state specific environment ('resolver' member of the UrlState
* structure). Fills the passed pointer by the initialized ares_channel.
*/
-int Curl_resolver_init(void **resolver)
+CURLcode Curl_resolver_init(void **resolver)
{
int status = ares_init((ares_channel*)resolver);
if(status != ARES_SUCCESS) {