]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Fix compiler warning "enumerated type mixed with another type"
authorYang Tse <yangsita@gmail.com>
Mon, 17 Jul 2006 14:52:31 +0000 (14:52 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 17 Jul 2006 14:52:31 +0000 (14:52 +0000)
lib/url.c

index e7537c6ec2806f4ab60c0c8dcf90ae557a63b1a7..7c0ebc7e6200978d1dd24b8adb4c5d87deece19b 100644 (file)
--- 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