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

Alexandre Julliard julliard at winehq.org
Fri Jul 11 08:44:10 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Jul 11 10:41:36 2008 +0100

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

---

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

diff --git a/dlls/mscms/icc.c b/dlls/mscms/icc.c
index 3b0ec22..6297bff 100644
--- a/dlls/mscms/icc.c
+++ b/dlls/mscms/icc.c
@@ -73,7 +73,7 @@ DWORD MSCMS_get_tag_count( const icProfile *iccprofile )
 
 void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
 {
-    icTag *tmp = (icTag *)((char *)&iccprofile->data + index * sizeof(icTag));
+    icTag *tmp = (icTag *)((char *)iccprofile->data + index * sizeof(icTag));
 
     tag->sig = tmp->sig;
     tag->offset = tmp->offset;




More information about the wine-cvs mailing list