fix compiler warning: enumerated type mixed with another type
authorYang Tse <yangsita@gmail.com>
Thu, 17 Apr 2008 11:59:46 +0000 (11:59 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 17 Apr 2008 11:59:46 +0000 (11:59 +0000)
tests/libtest/lib555.c

index bfc29fc..ed12c5a 100644 (file)
@@ -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;
 }