mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
lib: fix gcc8 warning on Windows
Closes https://github.com/curl/curl/pull/2979
This commit is contained in:
parent
357161accd
commit
539a8059ef
@ -90,8 +90,9 @@ CURLcode Curl_sspi_global_init(void)
|
|||||||
return CURLE_FAILED_INIT;
|
return CURLE_FAILED_INIT;
|
||||||
|
|
||||||
/* Get address of the InitSecurityInterfaceA function from the SSPI dll */
|
/* Get address of the InitSecurityInterfaceA function from the SSPI dll */
|
||||||
pInitSecurityInterface = (INITSECURITYINTERFACE_FN)
|
pInitSecurityInterface =
|
||||||
GetProcAddress(s_hSecDll, SECURITYENTRYPOINT);
|
CURLX_FUNCTION_CAST(INITSECURITYINTERFACE_FN,
|
||||||
|
(GetProcAddress(s_hSecDll, SECURITYENTRYPOINT)));
|
||||||
if(!pInitSecurityInterface)
|
if(!pInitSecurityInterface)
|
||||||
return CURLE_FAILED_INIT;
|
return CURLE_FAILED_INIT;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user