Skip to content
Snippets Groups Projects
Commit d30ddd99 authored by Yang Tse's avatar Yang Tse
Browse files

compiler warning: fix

Fix compiler warning: enumerated type mixed with another type
parent 8b849265
No related branches found
No related tags found
No related merge requests found
......@@ -446,7 +446,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
if((conn->handler->protocol&CURLPROTO_FTP) &&
conn->proto.ftpc.transfertype == 'A') {
/* 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 */
if(rc)
return rc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment