diff options
author | Yang Tse <yangsita@gmail.com> | 2009-09-17 16:11:54 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-09-17 16:11:54 +0000 |
commit | 0c90cb7b83b1bcb806da30f1c5ac258c3b2dfa97 (patch) | |
tree | d381626efe7df684c98d1cf8a203516c564e4fbf | |
parent | ede2ac0ea268a31ad50aeeeb3a0311243fff9e4f (diff) |
fix compiler warning: enumerated type mixed with another type
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |