aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-11 02:11:02 +0000
committerYang Tse <yangsita@gmail.com>2009-04-11 02:11:02 +0000
commit95368d9cb450935940c6372ffdba526b7bfdf9d2 (patch)
tree4bc78fea878ff2fa8afc20704ad9999e6581b4e9
parent74f9c570ea5526dd95e40a99cbaa173e1a20a4c3 (diff)
fix compiler warning: enumerated type mixed with another type
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index a58193495..15558594d 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -1096,7 +1096,7 @@ CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, size_t *n)
return CURLE_AGAIN;
if(ret1 != CURLE_OK)
- return ret1;
+ return (CURLcode)ret1;
*n = (size_t)n1;