mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
8b849265d8
commit
d30ddd9977
@ -446,7 +446,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
|
|||||||
if((conn->handler->protocol&CURLPROTO_FTP) &&
|
if((conn->handler->protocol&CURLPROTO_FTP) &&
|
||||||
conn->proto.ftpc.transfertype == 'A') {
|
conn->proto.ftpc.transfertype == 'A') {
|
||||||
/* convert from the network encoding */
|
/* convert from the network encoding */
|
||||||
size_t rc = Curl_convert_from_network(data, ptr, len);
|
CURLcode rc = Curl_convert_from_network(data, ptr, len);
|
||||||
/* Curl_convert_from_network calls failf if unsuccessful */
|
/* Curl_convert_from_network calls failf if unsuccessful */
|
||||||
if(rc)
|
if(rc)
|
||||||
return rc;
|
return rc;
|
||||||
|
Loading…
Reference in New Issue
Block a user