aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib507.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-25 08:52:00 +0000
committerYang Tse <yangsita@gmail.com>2006-10-25 08:52:00 +0000
commitd771fa7c488d57ea950c6c8f1fb9612b0fa8907c (patch)
treece6a5539a41858c24c1221632125e430bf9ef04c /tests/libtest/lib507.c
parentb2c378267beecae61b5fa608d2af3b3e4f0868d1 (diff)
Compiler warning fix
Diffstat (limited to 'tests/libtest/lib507.c')
-rw-r--r--tests/libtest/lib507.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib507.c b/tests/libtest/lib507.c
index b4ad6fe7d..227691d0b 100644
--- a/tests/libtest/lib507.c
+++ b/tests/libtest/lib507.c
@@ -38,7 +38,7 @@ int test(char *URL)
curl_easy_setopt(curls, CURLOPT_URL, URL);
- if ((res = (int)curl_multi_add_handle(multi, curls)) != CURLM_OK) {
+ if ((res = curl_multi_add_handle(multi, curls)) != CURLM_OK) {
fprintf(stderr, "curl_multi_add_handle() failed, "
"with code %d\n", res);
curl_easy_cleanup(curls);