aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_fnmatch.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-05-31 17:22:43 +0200
committerYang Tse <yangsita@gmail.com>2010-05-31 17:22:43 +0200
commit0546d448ced64975a6b71ef4ee23650f5fc1e362 (patch)
tree98a511021ebcfc0aab70b5003831faa5b3a359ff /lib/curl_fnmatch.c
parentb4fa27ae4b5e01f2b7494edb0ba37efb349cf6ae (diff)
fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib/curl_fnmatch.c')
-rw-r--r--lib/curl_fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c
index 6485c97bb..b250a223a 100644
--- a/lib/curl_fnmatch.c
+++ b/lib/curl_fnmatch.c
@@ -169,7 +169,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
if(!something_found) {
if(charset[CURLFNM_NEGATE]) {
charset[c] = 1;
- something_found = 1;
+ something_found = TRUE;
}
else
charset[CURLFNM_NEGATE] = 1; /* negate charset */