1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

cast the va_arg() assignment to ftp_filemethod properly

This commit is contained in:
Daniel Stenberg 2005-11-30 13:09:48 +00:00
parent 84d30dffb6
commit 176d4e85e9

View File

@ -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:
/*