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

Alexandre Julliard julliard at winehq.org
Mon Jul 14 05:56:56 CDT 2008


Module: wine
Branch: master
Commit: dd0a22420ac8a400a398502d75b083b249c4101a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dd0a22420ac8a400a398502d75b083b249c4101a

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Jul 11 21:58:28 2008 +0100

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

---

 dlls/shlwapi/ordinal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list