mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
4aee6822ca
commit
d61688923d
@ -638,7 +638,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
|
||||
nread = Curl_sec_read(conn, sockfd, buffertofill,
|
||||
bytesfromsocket);
|
||||
else {
|
||||
CURLcode ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
|
||||
int ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
|
||||
&nread);
|
||||
if(ret)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user