diff options
author | Viktor Szakats <commit@vszakats.net> | 2018-09-12 08:52:40 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vszakats.net> | 2018-09-12 08:52:40 +0000 |
commit | 539a8059ef5efc0f47ae70fd434a90ff0fbcab75 (patch) | |
tree | c752697ba3af6975f33279b76cb8c0bafac6e054 /lib | |
parent | 357161accda84cf678c579c652429d529e56db80 (diff) |
lib: fix gcc8 warning on Windows
Closes https://github.com/curl/curl/pull/2979
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_sspi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/curl_sspi.c b/lib/curl_sspi.c index 11a7120a9..7d1934297 100644 --- a/lib/curl_sspi.c +++ b/lib/curl_sspi.c @@ -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; |