* security.cc (create_token): Change initialization of `exp' to comply

with new LARGE_INTEGER definition in winnt.h.
This commit is contained in:
Corinna Vinschen 2001-08-31 19:48:34 +00:00
parent 75f259bfe3
commit dc8c4c68b7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Aug 31 21:39:00 2001 Corinna Vinschen <corinna@vinschen.de>
* 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 <cgf@cygnus.com>
* cygwin.sc: Revert to previous NO_COPY behavior.

View File

@ -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;