From: Yang Tse Date: Sat, 21 May 2011 12:55:10 +0000 (+0200) Subject: compiler warning: fix X-Git-Tag: curl-7_21_7~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d30ddd99770348c4b6e2fd6f8a9105a204ff35fe;p=curl compiler warning: fix Fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/sendf.c b/lib/sendf.c index c984d2a50..0172ae7c3 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -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;