From 9c83a20a278e69170f24abff36623471ec53071d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 17 Jul 2006 14:52:31 +0000 Subject: [PATCH] Fix compiler warning "enumerated type mixed with another type" --- lib/url.c | 4 ++-- 1 file 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 "", #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 "" #endif