diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-17 14:52:31 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-17 14:52:31 +0000 |
commit | 9c83a20a278e69170f24abff36623471ec53071d (patch) | |
tree | 9abc4911bad6a268025e15436287f1234a065547 /lib | |
parent | 773bec5ae5b7a7fe4ef8c4c0e75b8872c5b4da69 (diff) |
Fix compiler warning "enumerated type mixed with another type"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |