From 5fb24924fb3a52c127defa2fd43b74259b73abb7 Mon Sep 17 00:00:00 2001 From: Thomas Weidenmueller Date: Mon, 19 Jun 2006 12:09:56 +0200 Subject: [PATCH] include: Fix definition of SECURITY_INTEGER. --- dlls/secur32/schannel.c | 5 ++++- include/sspi.h | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c index 0fa449c915a..b6dc58e628b 100644 --- a/dlls/secur32/schannel.c +++ b/dlls/secur32/schannel.c @@ -126,7 +126,10 @@ static SECURITY_STATUS schan_AcquireCredentialsHandle(ULONG fCredentialUse, phCredential->dwUpper = fCredentialUse; /* According to MSDN, all versions prior to XP do this */ if (ptsExpiry) - ptsExpiry->QuadPart = 0; + { + ptsExpiry->LowPart = 0; + ptsExpiry->HighPart = 0; + } ret = SEC_E_OK; } return ret; diff --git a/include/sspi.h b/include/sspi.h index 6c2f8f5c69f..16447185a66 100644 --- a/include/sspi.h +++ b/include/sspi.h @@ -66,7 +66,11 @@ typedef PSecHandle PCredHandle; typedef SecHandle CtxtHandle; typedef PSecHandle PCtxtHandle; -typedef LARGE_INTEGER SECURITY_INTEGER, *PSECURITY_INTEGER; +typedef struct _SECURITY_INTEGER +{ + unsigned long LowPart; + long HighPart; +} SECURITY_INTEGER, *PSECURITY_INTEGER; typedef SECURITY_INTEGER TimeStamp, *PTimeStamp; typedef struct _SecPkgInfoA