aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-30 13:09:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-30 13:09:48 +0000
commit176d4e85e9566ab00c7aa5da323d4392f49c83c7 (patch)
tree86da55c829231b5dbf3666f2e54c199f2de08c96
parent84d30dffb690fe9eb0186ba45107f6658d6bc3aa (diff)
cast the va_arg() assignment to ftp_filemethod properly
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index ff52e459f..bc6033a36 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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:
/*