mscms: Remove superfluous pointer casts.

Michael Stefaniuc mstefani at redhat.de
Sat Jan 17 15:55:25 CST 2009


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

diff --git a/dlls/mscms/icc.c b/dlls/mscms/icc.c
index 6297bff..67b65ed 100644
--- a/dlls/mscms/icc.c
+++ b/dlls/mscms/icc.c
@@ -79,7 +79,7 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
     tag->offset = tmp->offset;
     tag->size = tmp->size;
 
-    MSCMS_adjust_endianess32( (ULONG *)&tag->sig );
+    MSCMS_adjust_endianess32( &tag->sig );
     MSCMS_adjust_endianess32( &tag->offset );
     MSCMS_adjust_endianess32( &tag->size );
 }
diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index 2f9970c..1c6811e 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -1461,7 +1461,7 @@ HPROFILE WINAPI OpenColorProfileW( PPROFILE profile, DWORD access, DWORD sharing
     {
         DWORD size, read, flags = 0;
 
-        TRACE( "profile file: %s\n", debugstr_w( (WCHAR *)profile->pProfileData ) );
+        TRACE( "profile file: %s\n", debugstr_w( profile->pProfileData ) );
 
         if (access & PROFILE_READ) flags = GENERIC_READ;
         if (access & PROFILE_READWRITE) flags = GENERIC_READ|GENERIC_WRITE;
-- 
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090117/c0c0ac34/attachment.pgp 


More information about the wine-patches mailing list