From dc8c4c68b7a1f5fddc5822e81342eb54a05496c8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 31 Aug 2001 19:48:34 +0000 Subject: [PATCH] * security.cc (create_token): Change initialization of `exp' to comply with new LARGE_INTEGER definition in winnt.h. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/security.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c8acd8700..e3b4b7c7c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 31 21:39:00 2001 Corinna Vinschen + + * security.cc (create_token): Change initialization of `exp' to comply + with new LARGE_INTEGER definition in winnt.h. + Fri Aug 31 13:58:51 2001 Christopher Faylor * cygwin.sc: Revert to previous NO_COPY behavior. diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 4e8e7b933..24501fa7b 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -687,7 +687,7 @@ create_token (cygsid &usersid, cygsid &pgrpsid) { sizeof oa, 0, 0, 0, 0, &sqos }; SECURITY_ATTRIBUTES sa = { sizeof sa, NULL, TRUE }; LUID auth_luid = SYSTEM_LUID; - LARGE_INTEGER exp = { 0x7fffffffffffffffLL } ; + LARGE_INTEGER exp = { QuadPart:0x7fffffffffffffffLL }; TOKEN_USER user; PTOKEN_GROUPS grps = NULL;