advapi32: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Mon Jul 7 16:40:20 CDT 2008


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

diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 2f91329..3423cbe 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -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))
             {



More information about the wine-patches mailing list