diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-30 12:50:52 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-30 12:50:52 +0000 |
commit | d61688923d19d9fe6ec7fa005a1d920c6e52a6c1 (patch) | |
tree | fe4b6290cee002c6111b476a8eda152023f07c4a /lib | |
parent | 4aee6822cae913c9fc62c367d6fcb9d70c13a8ad (diff) |
fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sendf.c | 2 |
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; |