From d30ddd99770348c4b6e2fd6f8a9105a204ff35fe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 May 2011 14:55:10 +0200 Subject: compiler warning: fix Fix compiler warning: enumerated type mixed with another type --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3