aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-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