diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-20 11:44:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-20 23:06:19 +0200 |
commit | 23803aae7b9e3ef15a0339a2afa9da7c5c2bfac1 (patch) | |
tree | 966e8d2920ef757555b068e463503f9f58c3b25e /lib/vauth | |
parent | 3e8a9bfd17b4c3b7b9f822739b6afc9ed6b92208 (diff) | |
download | curl-23803aae7b9e3ef15a0339a2afa9da7c5c2bfac1.tar.gz |
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
Diffstat (limited to 'lib/vauth')
-rw-r--r-- | lib/vauth/spnego_sspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vauth/spnego_sspi.c b/lib/vauth/spnego_sspi.c index a4935276b..13d7a4cfe 100644 --- a/lib/vauth/spnego_sspi.c +++ b/lib/vauth/spnego_sspi.c @@ -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; |