mirror of
https://github.com/curl/curl.git
synced 2026-05-06 14:27:28 +03:00
cast the va_arg() assignment to ftp_filemethod properly
This commit is contained in:
parent
84d30dffb6
commit
176d4e85e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue