fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse 2009-04-11 02:11:02 +00:00
parent 74f9c570ea
commit 95368d9cb4

View File

@ -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;