mirror of
https://github.com/curl/curl.git
synced 2026-08-03 11:50:29 +03:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
1bb04927f3
commit
b38189c7b4
2 changed files with 3 additions and 3 deletions
|
|
@ -2463,7 +2463,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
break;
|
||||
|
||||
case CURLOPT_WILDCARDMATCH:
|
||||
data->set.wildcardmatch = !! va_arg(param, long);
|
||||
data->set.wildcardmatch = (bool)(0 != va_arg(param, long));
|
||||
break;
|
||||
case CURLOPT_CHUNK_BGN_FUNCTION:
|
||||
data->set.chunk_bgn = va_arg(param, curl_chunk_bgn_callback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue