Thomas Weidenmueller : include: Fix definition of SECURITY_INTEGER.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 19 14:28:50 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 5fb24924fb3a52c127defa2fd43b74259b73abb7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5fb24924fb3a52c127defa2fd43b74259b73abb7
Author: Thomas Weidenmueller <wine-patches at reactsoft.com>
Date: Mon Jun 19 12:09:56 2006 +0200
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 0fa449c..b6dc58e 100644
--- a/dlls/secur32/schannel.c
+++ b/dlls/secur32/schannel.c
@@ -126,7 +126,10 @@ static SECURITY_STATUS schan_AcquireCred
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 6c2f8f5..1644718 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
More information about the wine-cvs
mailing list