From 95368d9cb450935940c6372ffdba526b7bfdf9d2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 11 Apr 2009 02:11:02 +0000 Subject: [PATCH] fix compiler warning: enumerated type mixed with another type --- lib/easy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/easy.c b/lib/easy.c index a581934..1555859 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -1096,7 +1096,7 @@ CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, size_t *n) return CURLE_AGAIN; if(ret1 != CURLE_OK) - return ret1; + return (CURLcode)ret1; *n = (size_t)n1; -- 2.7.4