mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
spnego_sspi: add typecast to fix build warning
Reported in build "Win32 target on Debian Stretch (64-bit) - i686-w64-mingw32 - gcc-20170516" Closes #4245
This commit is contained in:
parent
3e8a9bfd17
commit
23803aae7b
@ -252,7 +252,7 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
|
||||
failf(data, "InitializeSecurityContext failed: %s",
|
||||
Curl_sspi_strerror(nego->status, buffer, sizeof(buffer)));
|
||||
|
||||
if(nego->status == SEC_E_INSUFFICIENT_MEMORY)
|
||||
if(nego->status == (DWORD)SEC_E_INSUFFICIENT_MEMORY)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
return CURLE_AUTH_ERROR;
|
||||
@ -266,7 +266,7 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
|
||||
failf(data, "CompleteAuthToken failed: %s",
|
||||
Curl_sspi_strerror(nego->status, buffer, sizeof(buffer)));
|
||||
|
||||
if(nego->status == SEC_E_INSUFFICIENT_MEMORY)
|
||||
if(nego->status == (DWORD)SEC_E_INSUFFICIENT_MEMORY)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
return CURLE_AUTH_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user