aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 99115dda6..a2332234d 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -445,7 +445,7 @@ static CURLcode ftp_readresp(curl_socket_t sockfd,
#endif /* CURL_DOES_CONVERSIONS */
if(CURLE_OK != res) {
- result = res; /* Set the outer result variable to this error. */
+ result = (CURLcode)res; /* Set outer result variable to this error. */
keepon = FALSE;
}
}