From e3009f2950b2f6b778a6e0daf4466d6ec9132ed2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 5 Feb 2010 19:19:34 +0000 Subject: fix compiler warning --- tests/libtest/lib570.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/libtest/lib570.c') diff --git a/tests/libtest/lib570.c b/tests/libtest/lib570.c index f044f85e2..4f40a0276 100644 --- a/tests/libtest/lib570.c +++ b/tests/libtest/lib570.c @@ -22,7 +22,7 @@ static char *suburl(const char *base, int i) int test(char *URL) { - CURLcode res; + int res; CURL *curl; int request=1; char *stream_uri = NULL; @@ -55,7 +55,7 @@ int test(char *URL) stream_uri = NULL; res = curl_easy_perform(curl); - if(res != CURLE_RTSP_CSEQ_ERROR) { + if(res != (int)CURLE_RTSP_CSEQ_ERROR) { fprintf(stderr, "Failed to detect CSeq mismatch"); res = TEST_ERR_MAJOR_BAD; goto test_cleanup; @@ -98,6 +98,6 @@ test_cleanup: curl_easy_cleanup(curl); curl_global_cleanup(); - return (int)res; + return res; } -- cgit v1.2.3