From: Yang Tse Date: Sun, 25 Mar 2007 03:20:17 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_16_2~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0780bb91eae08e3c9fed407beb668c647c5ced;p=thirdparty%2Fcurl.git fix compiler warning --- diff --git a/lib/url.c b/lib/url.c index 04f1aa4978..a83707dac6 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