From 6c89e1b3114e51ea3c7feae2133c6efdbb9c8b16 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Apr 2008 11:59:46 +0000 Subject: [PATCH] fix compiler warning: enumerated type mixed with another type --- tests/libtest/lib555.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libtest/lib555.c b/tests/libtest/lib555.c index bfc29fc..ed12c5a 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; } -- 2.7.4