mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
74f9c570ea
commit
95368d9cb4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user