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
1 changed files with 1 additions and 1 deletions

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;