mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:37:16 +03:00
Fix compiler warning "enumerated type mixed with another type"
This commit is contained in:
parent
773bec5ae5
commit
9c83a20a27
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue