mscms: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Fri Jul 11 04:41:36 CDT 2008


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

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