From: Yang Tse Date: Sat, 11 Apr 2009 02:11:02 +0000 (+0000) Subject: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_19_5~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95368d9cb450935940c6372ffdba526b7bfdf9d2;p=thirdparty%2Fcurl.git fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/easy.c b/lib/easy.c index a581934950..15558594d6 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;