From b38189c7b41cc2a327ab690a523441bcb3e6f9fe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 1 Jun 2010 12:25:14 +0200 Subject: fix compiler warning: enumerated type mixed with another type --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 6c48dcb2e..3f55f7bda 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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); -- cgit v1.2.3