Commit e095a08a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

advapi32: Remove unneeded address-of operator from array name.

parent b7cc9c66
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment