1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-08 12:28:06 -05:00

fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse 2008-09-30 12:50:52 +00:00
parent 4aee6822ca
commit d61688923d

View File

@ -638,7 +638,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
nread = Curl_sec_read(conn, sockfd, buffertofill, nread = Curl_sec_read(conn, sockfd, buffertofill,
bytesfromsocket); bytesfromsocket);
else { else {
CURLcode ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket, int ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
&nread); &nread);
if(ret) if(ret)
return ret; return ret;