mirror of
https://github.com/curl/curl.git
synced 2025-09-21 19:42:42 +03:00
fix compiler warning
This commit is contained in:
parent
f08ac86834
commit
fa0780bb91
|
@ -2507,7 +2507,7 @@ static bool tld_check_name(struct SessionHandle *data,
|
||||||
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
||||||
if (rc != TLD_SUCCESS)
|
if (rc != TLD_SUCCESS)
|
||||||
#ifdef HAVE_TLD_STRERROR
|
#ifdef HAVE_TLD_STRERROR
|
||||||
tld_errmsg = tld_strerror((Tld_rc)rc);
|
tld_errmsg = (char *)tld_strerror((Tld_rc)rc);
|
||||||
#else
|
#else
|
||||||
tld_errmsg = no_msg;
|
tld_errmsg = no_msg;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user