Andrew Talbot : mscms: Remove unneeded casts.

Alexandre Julliard julliard at winehq.org
Fri Jan 11 07:20:20 CST 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Jan 10 22:11:24 2008 +0000

mscms: Remove unneeded casts.

---

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

diff --git a/dlls/mscms/icc.c b/dlls/mscms/icc.c
index ffdd3e5..3b0ec22 100644
--- a/dlls/mscms/icc.c
+++ b/dlls/mscms/icc.c
@@ -80,8 +80,8 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
     tag->size = tmp->size;
 
     MSCMS_adjust_endianess32( (ULONG *)&tag->sig );
-    MSCMS_adjust_endianess32( (ULONG *)&tag->offset );
-    MSCMS_adjust_endianess32( (ULONG *)&tag->size );
+    MSCMS_adjust_endianess32( &tag->offset );
+    MSCMS_adjust_endianess32( &tag->size );
 }
 
 void MSCMS_get_tag_data( const icProfile *iccprofile, const icTag *tag, DWORD offset, void *buffer )
@@ -98,7 +98,7 @@ DWORD MSCMS_get_profile_size( const icProfile *iccprofile )
 {
     DWORD size = ((const icHeader *)iccprofile)->size;
 
-    MSCMS_adjust_endianess32( (ULONG *)&size );
+    MSCMS_adjust_endianess32( &size );
     return size;
 }
 




More information about the wine-cvs mailing list