1
0
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:
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,
bytesfromsocket);
else {
CURLcode ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
int ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
&nread);
if(ret)
return ret;