From: Yang Tse Date: Tue, 10 Oct 2006 23:58:02 +0000 (+0000) Subject: Compiler warning fix X-Git-Tag: upstream/7.37.1~9954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=943f0733bb187dfacdfdc23806ab030cee97c9fc;p=platform%2Fupstream%2Fcurl.git Compiler warning fix --- diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c index a1099fe..40b45e4 100644 --- a/tests/libtest/lib536.c +++ b/tests/libtest/lib536.c @@ -41,9 +41,9 @@ static CURLMcode perform(CURLM * multi) FD_ZERO(&fdexcep); curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); if (maxfd < 0) - return -1; + return (CURLMcode) ~CURLM_OK; if (select(maxfd + 1, &fdread, &fdwrite, &fdexcep, 0) == -1) - return -1; + return (CURLMcode) ~CURLM_OK; } }