projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d30df
)
cast the va_arg() assignment to ftp_filemethod properly
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Nov 2005 13:09:48 +0000
(13:09 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Nov 2005 13:09:48 +0000
(13:09 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index ff52e459f30e627b1f5a53805024faa93daa6808..bc6033a368f95f6419b88cb38415090e8c62cb6b 100644
(file)
--- 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:
/*