From: Yang Tse Date: Thu, 17 Sep 2009 16:11:54 +0000 (+0000) Subject: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_19_7~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c90cb7b83b1bcb806da30f1c5ac258c3b2dfa97;p=thirdparty%2Fcurl.git fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/ftp.c b/lib/ftp.c index 99115dda63..a2332234d2 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; } }