advapi32: Remove unneeded address-of operator from array name.
This commit is contained in:
parent
b7cc9c66b3
commit
e095a08a38
|
@ -480,7 +480,7 @@ BOOL ADVAPI_GetComputerSid(PSID sid)
|
|||
SID_IDENTIFIER_AUTHORITY identifierAuthority = {SECURITY_NT_AUTHORITY};
|
||||
DWORD id[3];
|
||||
|
||||
if (RtlGenRandom(&id, sizeof(id)))
|
||||
if (RtlGenRandom(id, sizeof(id)))
|
||||
{
|
||||
if (AllocateAndInitializeSid(&identifierAuthority, 4, SECURITY_NT_NON_UNIQUE, id[0], id[1], id[2], 0, 0, 0, 0, &new_sid))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue