use constant instead of value to avoid further "hm?" from Alex

svn path=/trunk/; revision=37995
This commit is contained in:
Christoph von Wittich 2008-12-10 07:34:02 +00:00
parent 29b4de77bf
commit 8ab21576b5

View file

@ -1463,7 +1463,7 @@ LookupPrivilegeValueW(LPCWSTR SystemName,
{ {
if (0 == wcsicmp(PrivName, DefaultPrivNames[Priv])) if (0 == wcsicmp(PrivName, DefaultPrivNames[Priv]))
{ {
Luid->LowPart = Priv + 2; Luid->LowPart = Priv + SE_MIN_WELL_KNOWN_PRIVILEGE;
Luid->HighPart = 0; Luid->HighPart = 0;
return TRUE; return TRUE;
} }