mirror of
https://github.com/curl/curl.git
synced 2025-09-27 22:47:00 +03:00
url.c: fix compiler warning
This commit is contained in:
parent
82306ebfba
commit
8c29bf5640
|
@ -1115,7 +1115,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
||||||
* CURL_REDIR_POST_ALL - POST is kept as POST after 301, 302 and 303
|
* CURL_REDIR_POST_ALL - POST is kept as POST after 301, 302 and 303
|
||||||
* other - POST is kept as POST after 301 and 302
|
* other - POST is kept as POST after 301 and 302
|
||||||
*/
|
*/
|
||||||
long postRedir = va_arg(param, long);
|
int postRedir = curlx_sltosi(va_arg(param, long));
|
||||||
data->set.keep_post = postRedir & CURL_REDIR_POST_ALL;
|
data->set.keep_post = postRedir & CURL_REDIR_POST_ALL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user