From: Yang Tse Date: Mon, 17 Jul 2006 14:52:31 +0000 (+0000) Subject: Fix compiler warning "enumerated type mixed with another type" X-Git-Tag: curl-7_15_5~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c83a20a278e69170f24abff36623471ec53071d;p=thirdparty%2Fcurl.git Fix compiler warning "enumerated type mixed with another type" --- diff --git a/lib/url.c b/lib/url.c index e7537c6ec2..7c0ebc7e62 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