mirror of
https://github.com/curl/curl.git
synced 2025-09-19 18:42:42 +03: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