mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
cast the va_arg() assignment to ftp_filemethod properly
This commit is contained in:
parent
84d30dffb6
commit
176d4e85e9
@ -561,7 +561,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||||||
/*
|
/*
|
||||||
* How do access files over FTP.
|
* 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;
|
break;
|
||||||
case CURLOPT_NETRC:
|
case CURLOPT_NETRC:
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user