shlwapi: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Fri Jul 11 15:58:28 CDT 2008


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

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index d1668a6..d0bff7f 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -4399,7 +4399,7 @@ PSECURITY_DESCRIPTOR WINAPI GetShellSecurityDescriptor(PSHELL_USER_PERMISSION *a
                 {
                     ret = GetTokenInformation(Token, TokenUser, (void*)tuUser, bufsize, &bufsize );
                     if (ret)
-                        cur_user = ((PTOKEN_USER)&tuUser)->User.Sid;
+                        cur_user = ((PTOKEN_USER)tuUser)->User.Sid;
                     CloseHandle(Token);
                 }
             }



More information about the wine-patches mailing list