mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Fix compiler warning "enumerated type mixed with another type"
This commit is contained in:
parent
773bec5ae5
commit
9c83a20a27
@ -2486,7 +2486,7 @@ static bool tld_check_name(struct SessionHandle *data,
|
|||||||
if (rc == TLD_INVALID)
|
if (rc == TLD_INVALID)
|
||||||
infof(data, "WARNING: %s; pos %u = `%c'/0x%02X\n",
|
infof(data, "WARNING: %s; pos %u = `%c'/0x%02X\n",
|
||||||
#ifdef HAVE_TLD_STRERROR
|
#ifdef HAVE_TLD_STRERROR
|
||||||
tld_strerror(rc),
|
tld_strerror((Tld_rc)rc),
|
||||||
#else
|
#else
|
||||||
"<no msg>",
|
"<no msg>",
|
||||||
#endif
|
#endif
|
||||||
@ -2496,7 +2496,7 @@ static bool tld_check_name(struct SessionHandle *data,
|
|||||||
infof(data, "WARNING: TLD check for %s failed; %s\n",
|
infof(data, "WARNING: TLD check for %s failed; %s\n",
|
||||||
uc_name,
|
uc_name,
|
||||||
#ifdef HAVE_TLD_STRERROR
|
#ifdef HAVE_TLD_STRERROR
|
||||||
tld_strerror(rc)
|
tld_strerror((Tld_rc)rc)
|
||||||
#else
|
#else
|
||||||
"<no msg>"
|
"<no msg>"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user