url.c: avoid implied cast to bool

This commit is contained in:
Kamil Dudka 2010-05-26 11:12:26 +02:00
parent 97b497a75f
commit dd8568739c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);