mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
12043e3c9c
commit
b4fa27ae4b
@ -3509,7 +3509,7 @@ static CURLcode init_wc_data(struct connectdata *conn)
|
|||||||
path[0] = '\0';
|
path[0] = '\0';
|
||||||
}
|
}
|
||||||
else { /* only list */
|
else { /* only list */
|
||||||
conn->data->set.wildcardmatch = 0L;
|
conn->data->set.wildcardmatch = FALSE;
|
||||||
ret = ftp_parse_url_path(conn);
|
ret = ftp_parse_url_path(conn);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -769,7 +769,7 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
|
|||||||
res = setstropt(&set->str[STRING_SSL_CAPATH], (char *) CURL_CA_PATH);
|
res = setstropt(&set->str[STRING_SSL_CAPATH], (char *) CURL_CA_PATH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
set->wildcardmatch = 0L;
|
set->wildcardmatch = FALSE;
|
||||||
set->chunk_bgn = ZERO_NULL;
|
set->chunk_bgn = ZERO_NULL;
|
||||||
set->chunk_end = ZERO_NULL;
|
set->chunk_end = ZERO_NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user