aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-26 11:12:26 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-27 16:35:31 +0200
commitdd8568739c2b67ad069d59a8afcce9e6d3305d5f (patch)
treeb929bdba7f565e97659b2ace603c4790ae6e9968 /lib
parent97b497a75f3d4ff8e27b279f045f51f59e87ac12 (diff)
url.c: avoid implied cast to bool
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h2
-rw-r--r--lib/url.c2
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
diff --git a/lib/url.c b/lib/url.c
index c59535a9c..8f95c8a66 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 = !! va_arg(param, long);
break;
case CURLOPT_CHUNK_BGN_FUNCTION:
data->set.chunk_bgn = va_arg(param, curl_chunk_bgn_callback);