aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib571.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-05 19:19:34 +0000
committerYang Tse <yangsita@gmail.com>2010-02-05 19:19:34 +0000
commite3009f2950b2f6b778a6e0daf4466d6ec9132ed2 (patch)
tree64fbf9a4e41e54926e2bd83bd371081f50198ce3 /tests/libtest/lib571.c
parentcad9c3f55fad5da988144dc83ad76a8544a071a2 (diff)
fix compiler warning
Diffstat (limited to 'tests/libtest/lib571.c')
-rw-r--r--tests/libtest/lib571.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c
index a264eddbd..b91a6fa8b 100644
--- a/tests/libtest/lib571.c
+++ b/tests/libtest/lib571.c
@@ -89,7 +89,7 @@ static char *suburl(const char *base, int i)
int test(char *URL)
{
- CURLcode res;
+ int res;
CURL *curl;
char *stream_uri = NULL;
int request=1;
@@ -189,6 +189,6 @@ test_cleanup:
curl_easy_cleanup(curl);
curl_global_cleanup();
- return (int)res;
+ return res;
}