fix compiler warning

This commit is contained in:
Yang Tse 2007-03-25 03:20:17 +00:00
parent f08ac86834
commit fa0780bb91
1 changed files with 1 additions and 1 deletions

View File

@ -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