From d61688923d19d9fe6ec7fa005a1d920c6e52a6c1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 30 Sep 2008 12:50:52 +0000 Subject: fix compiler warning: enumerated type mixed with another type --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sendf.c b/lib/sendf.c index fc9af912b..4d17ec133 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; -- cgit v1.2.3