1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

lib: fix gcc8 warning on Windows

Closes https://github.com/curl/curl/pull/2979
This commit is contained in:
Viktor Szakats 2018-09-12 08:52:40 +00:00
parent 357161accd
commit 539a8059ef

View File

@ -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;