From: Daniel Stenberg Date: Wed, 30 Nov 2005 13:09:48 +0000 (+0000) Subject: cast the va_arg() assignment to ftp_filemethod properly X-Git-Tag: curl-7_15_1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=176d4e85e9566ab00c7aa5da323d4392f49c83c7;p=curl cast the va_arg() assignment to ftp_filemethod properly --- diff --git a/lib/url.c b/lib/url.c index ff52e459f..bc6033a36 100644 --- a/lib/url.c +++ b/lib/url.c @@ -561,7 +561,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, /* * How do access files over FTP. */ - data->set.ftp_filemethod = va_arg(param, long); + data->set.ftp_filemethod = (curl_ftpfile)va_arg(param, long); break; case CURLOPT_NETRC: /*