aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;