From 0546d448ced64975a6b71ef4ee23650f5fc1e362 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Mon, 31 May 2010 17:22:43 +0200
Subject: [PATCH] fix compiler warning: enumerated type mixed with another type

---
 lib/curl_fnmatch.c | 2 +-
 lib/url.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c
index 6485c97bb0..b250a223a8 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 */
diff --git a/lib/url.c b/lib/url.c
index 3b15f3c3bb..6c48dcb2e9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4172,7 +4172,7 @@ static CURLcode parse_url_userpass(struct SessionHandle *data,
      * set user/passwd, but doing that first adds more cases here :-(
      */
 
-    conn->bits.userpwd_in_url = 1;
+    conn->bits.userpwd_in_url = TRUE;
     if(data->set.use_netrc != CURL_NETRC_REQUIRED) {
       /* We could use the one in the URL */
 
-- 
GitLab