aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-04-17 11:59:46 +0000
committerYang Tse <yangsita@gmail.com>2008-04-17 11:59:46 +0000
commit6c89e1b3114e51ea3c7feae2133c6efdbb9c8b16 (patch)
tree037102ca295a85027698837abd5898abbd385793
parent09777a4fc2ed0f2b09447eb89fb8cd4b99278944 (diff)
fix compiler warning: enumerated type mixed with another type
-rw-r--r--tests/libtest/lib555.c4
1 files changed, 2 insertions, 2 deletions
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;
}