Fix compiler warning "enumerated type mixed with another type"

This commit is contained in:
Yang Tse 2006-07-17 14:52:31 +00:00
parent 773bec5ae5
commit 9c83a20a27
1 changed files with 2 additions and 2 deletions

View File

@ -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