mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -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;
|
||||
|
||||
/* Get address of the InitSecurityInterfaceA function from the SSPI dll */
|
||||
pInitSecurityInterface = (INITSECURITYINTERFACE_FN)
|
||||
GetProcAddress(s_hSecDll, SECURITYENTRYPOINT);
|
||||
pInitSecurityInterface =
|
||||
CURLX_FUNCTION_CAST(INITSECURITYINTERFACE_FN,
|
||||
(GetProcAddress(s_hSecDll, SECURITYENTRYPOINT)));
|
||||
if(!pInitSecurityInterface)
|
||||
return CURLE_FAILED_INIT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user