diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-25 08:52:00 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-25 08:52:00 +0000 |
commit | d771fa7c488d57ea950c6c8f1fb9612b0fa8907c (patch) | |
tree | ce6a5539a41858c24c1221632125e430bf9ef04c /tests/libtest/lib504.c | |
parent | b2c378267beecae61b5fa608d2af3b3e4f0868d1 (diff) |
Compiler warning fix
Diffstat (limited to 'tests/libtest/lib504.c')
-rw-r--r-- | tests/libtest/lib504.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index 4a1931dd6..f077ffed3 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -55,7 +55,7 @@ int test(char *URL) return TEST_ERR_MAJOR_BAD; } - if ((res = (int)curl_multi_add_handle(m, c)) != CURLM_OK) { + if ((res = curl_multi_add_handle(m, c)) != CURLM_OK) { fprintf(stderr, "curl_multi_add_handle() failed, " "with code %d\n", res); curl_multi_cleanup(m); @@ -86,7 +86,7 @@ int test(char *URL) res = CURLM_CALL_MULTI_PERFORM; while (res == CURLM_CALL_MULTI_PERFORM) { - res = (int)curl_multi_perform(m, &running); + res = curl_multi_perform(m, &running); if (curlx_tvdiff(curlx_tvnow(), mp_start) > MULTI_PERFORM_HANG_TIMEOUT) { mp_timedout = TRUE; |