From 9cd2f28603a840eb003a1fba84a58bd42a1862b0 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 14 Aug 2006 11:08:37 +0200 Subject: [PATCH] secur32: Cast helper to ULONG_PTR instead of DWORD. --- dlls/secur32/ntlm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index c18d0f0af25..2f16cd46f8c 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -117,7 +117,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW( { helper->mode = NTLM_SERVER; phCredential->dwUpper = fCredentialUse; - phCredential->dwLower = (DWORD)helper; + phCredential->dwLower = (ULONG_PTR)helper; } ret = SEC_E_OK; break; @@ -229,7 +229,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW( } phCredential->dwUpper = fCredentialUse; - phCredential->dwLower = (DWORD)helper; + phCredential->dwLower = (ULONG_PTR)helper; TRACE("ACH phCredential->dwUpper: 0x%08lx, dwLower: 0x%08lx\n", phCredential->dwUpper, phCredential->dwLower); } @@ -632,7 +632,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW( } phNewContext->dwUpper = ctxt_attr; - phNewContext->dwLower = (DWORD)helper; + phNewContext->dwLower = (ULONG_PTR)helper; ret = SEC_E_OK; } @@ -956,7 +956,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext( } phNewContext->dwUpper = ctxt_attr; - phNewContext->dwLower = ret; + phNewContext->dwLower = (ULONG_PTR)helper; HeapFree(GetProcessHeap(), 0, buffer); HeapFree(GetProcessHeap(), 0, bin); -- 2.11.4.GIT