Skip to content
Snippets Groups Projects
Commit fa0780bb authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning

parent f08ac868
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment