]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix compiler warning "enumerated type mixed with another type"
authorYang Tse <yangsita@gmail.com>
Wed, 21 Feb 2007 05:48:07 +0000 (05:48 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 21 Feb 2007 05:48:07 +0000 (05:48 +0000)
lib/url.c

index 05920b72ed8b0c88d9aed3b5620764d170a7a282..0368fee3afa8385b18617827a07745a0df217868 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1156,7 +1156,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
     break;
 
   case CURLOPT_FTP_SSL_CCC:
-    data->set.ftp_ccc = va_arg(param, long);
+    data->set.ftp_ccc = (curl_ftpccc)va_arg(param, long);
     break;
 
   case CURLOPT_FTP_SKIP_PASV_IP: