diff options
author | Kamil Dudka <kdudka@redhat.com> | 2010-05-26 11:12:26 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2010-05-27 16:35:31 +0200 |
commit | dd8568739c2b67ad069d59a8afcce9e6d3305d5f (patch) | |
tree | b929bdba7f565e97659b2ace603c4790ae6e9968 /lib | |
parent | 97b497a75f3d4ff8e27b279f045f51f59e87ac12 (diff) |
url.c: avoid implied cast to bool
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.h | 2 | ||||
-rw-r--r-- | lib/url.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/setup.h b/lib/setup.h index 5fae0926b..43f98a868 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -497,7 +497,7 @@ #if defined(_MSC_VER) && !defined(__POCC__) # if !defined(HAVE_WINDOWS_H) || ((_MSC_VER < 1300) && !defined(_FILETIME_)) # if !defined(ALLOW_MSVC6_WITHOUT_PSDK) -# error MSVC 6.0 requires 'February 2003 Platform SDK' a.k.a. 'Windows Server 2003 PSDK' +# error MSVC 6.0 requires "February 2003 Platform SDK" a.k.a. "Windows Server 2003 PSDK" # else # define CURL_DISABLE_LDAP 1 # endif @@ -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 = !! va_arg(param, long); break; case CURLOPT_CHUNK_BGN_FUNCTION: data->set.chunk_bgn = va_arg(param, curl_chunk_bgn_callback); |