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
1 changed files with 1 additions and 1 deletions

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