aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-05-31 17:11:51 +0200
committerYang Tse <yangsita@gmail.com>2010-05-31 17:11:51 +0200
commitb4fa27ae4b5e01f2b7494edb0ba37efb349cf6ae (patch)
treeed3f4770e7ab5dc29d47c5c41e1ac6c9c3b8b279 /lib
parent12043e3c9c39335982764557cba4684bb5ffa5d3 (diff)
fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
-rw-r--r--lib/url.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 1a595cea2..935ab31dc 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3509,7 +3509,7 @@ static CURLcode init_wc_data(struct connectdata *conn)
path[0] = '\0';
}
else { /* only list */
- conn->data->set.wildcardmatch = 0L;
+ conn->data->set.wildcardmatch = FALSE;
ret = ftp_parse_url_path(conn);
return ret;
}
diff --git a/lib/url.c b/lib/url.c
index 4d1632b66..3b15f3c3b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -769,7 +769,7 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
res = setstropt(&set->str[STRING_SSL_CAPATH], (char *) CURL_CA_PATH);
#endif
- set->wildcardmatch = 0L;
+ set->wildcardmatch = FALSE;
set->chunk_bgn = ZERO_NULL;
set->chunk_end = ZERO_NULL;