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)
|
||||
infof(data, "WARNING: %s; pos %u = `%c'/0x%02X\n",
|
||||
#ifdef HAVE_TLD_STRERROR
|
||||
tld_strerror(rc),
|
||||
tld_strerror((Tld_rc)rc),
|
||||
#else
|
||||
"<no msg>",
|
||||
#endif
|
||||
@ -2496,7 +2496,7 @@ static bool tld_check_name(struct SessionHandle *data,
|
||||
infof(data, "WARNING: TLD check for %s failed; %s\n",
|
||||
uc_name,
|
||||
#ifdef HAVE_TLD_STRERROR
|
||||
tld_strerror(rc)
|
||||
tld_strerror((Tld_rc)rc)
|
||||
#else
|
||||
"<no msg>"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user