aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-17 14:52:31 +0000
committerYang Tse <yangsita@gmail.com>2006-07-17 14:52:31 +0000
commit9c83a20a278e69170f24abff36623471ec53071d (patch)
tree9abc4911bad6a268025e15436287f1234a065547 /lib
parent773bec5ae5b7a7fe4ef8c4c0e75b8872c5b4da69 (diff)
Fix compiler warning "enumerated type mixed with another type"
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index e7537c6ec..7c0ebc7e6 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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