From: Yang Tse Date: Thu, 17 Apr 2008 11:59:46 +0000 (+0000) Subject: fix compiler warning: enumerated type mixed with another type X-Git-Tag: cares-1_5_2~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c89e1b3114e51ea3c7feae2133c6efdbb9c8b16;p=curl fix compiler warning: enumerated type mixed with another type --- diff --git a/tests/libtest/lib555.c b/tests/libtest/lib555.c index bfc29fce8..ed12c5a44 100644 --- a/tests/libtest/lib555.c +++ b/tests/libtest/lib555.c @@ -60,7 +60,7 @@ static curlioerr ioctlcallback(CURL *handle, int test(char *URL) { - CURLcode res; + int res; CURL *curl; int counter=0; CURLM *m; @@ -142,6 +142,6 @@ int test(char *URL) curl_global_cleanup(); - return (int)res; + return res; }