aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-25 03:20:17 +0000
committerYang Tse <yangsita@gmail.com>2007-03-25 03:20:17 +0000
commitfa0780bb91eae08e3c9fed407beb668c647c5ced (patch)
treed1e7e7b4526b2ab81c2a9209d96b2445a857896f
parentf08ac8683418e2d241f12661521f003eef902720 (diff)
fix compiler warning
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 04f1aa497..a83707dac 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2507,7 +2507,7 @@ static bool tld_check_name(struct SessionHandle *data,
#ifndef CURL_DISABLE_VERBOSE_STRINGS
if (rc != TLD_SUCCESS)
#ifdef HAVE_TLD_STRERROR
- tld_errmsg = tld_strerror((Tld_rc)rc);
+ tld_errmsg = (char *)tld_strerror((Tld_rc)rc);
#else
tld_errmsg = no_msg;
#endif