aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-21 14:55:10 +0200
committerYang Tse <yangsita@gmail.com>2011-05-21 14:55:10 +0200
commitd30ddd99770348c4b6e2fd6f8a9105a204ff35fe (patch)
tree52a83d2769dc312545335f16950268c90c4be068
parent8b849265d811bb9ce3e93e1d28daf36e7d6e5bfb (diff)
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
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;