From: Yang Tse Date: Tue, 30 Sep 2008 12:50:52 +0000 (+0000) Subject: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_19_1~252 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d61688923d19d9fe6ec7fa005a1d920c6e52a6c1;p=thirdparty%2Fcurl.git fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/sendf.c b/lib/sendf.c index fc9af912ba..4d17ec1334 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -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;