From 176d4e85e9566ab00c7aa5da323d4392f49c83c7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Nov 2005 13:09:48 +0000 Subject: cast the va_arg() assignment to ftp_filemethod properly --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: /* -- cgit v1.2.3