Index: reactos/include/ntos/security.h =================================================================== --- reactos/include/ntos/security.h (revision 12807) +++ reactos/include/ntos/security.h (working copy) @@ -74,17 +74,10 @@ #ifndef __USE_W32API -#ifndef _MSC_VER -#define SYSTEM_LUID {{ 0x3E7, 0x0 }} -#define ANONYMOUS_LOGON_LUID {{ 0x3e6, 0x0 }} -#define LOCALSERVICE_LUID {{ 0x3e5, 0x0 }} -#define NETWORKSERVICE_LUID {{ 0x3e4, 0x0 }} -#else #define SYSTEM_LUID { 0x3E7, 0x0 } #define ANONYMOUS_LOGON_LUID { 0x3e6, 0x0 } #define LOCALSERVICE_LUID { 0x3e5, 0x0 } #define NETWORKSERVICE_LUID { 0x3e4, 0x0 } -#endif /* SID Auhority */ #define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0} Index: reactos/ntoskrnl/se/luid.c =================================================================== --- reactos/ntoskrnl/se/luid.c (revision 12807) +++ reactos/ntoskrnl/se/luid.c (working copy) @@ -25,10 +25,11 @@ VOID INIT_FUNCTION SepInitLuid(VOID) { - LARGE_INTEGER DummyLuidValue = SYSTEM_LUID; + LUID DummyLuidValue = SYSTEM_LUID; KeInitializeSpinLock(&LuidLock); - LuidValue = DummyLuidValue; + LuidValue.u.LowPart = DummyLuidValue.LowPart; + LuidValue.u.HighPart = DummyLuidValue.HighPart; LuidIncrement.QuadPart = 1; }