aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-30 12:50:52 +0000
committerYang Tse <yangsita@gmail.com>2008-09-30 12:50:52 +0000
commitd61688923d19d9fe6ec7fa005a1d920c6e52a6c1 (patch)
treefe4b6290cee002c6111b476a8eda152023f07c4a
parent4aee6822cae913c9fc62c367d6fcb9d70c13a8ad (diff)
fix compiler warning: enumerated type mixed with another type
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
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;