mirror of
https://github.com/curl/curl.git
synced 2026-05-17 08:16:26 +03:00
lib: fix gcc8 warning on Windows
Closes https://github.com/curl/curl/pull/2979
This commit is contained in:
parent
357161accd
commit
539a8059ef
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue