Module: wine Branch: master Commit: c36ce23795fd2d0fa6489e08204127e158009f0b URL: http://source.winehq.org/git/wine.git/?a=commit;h=c36ce23795fd2d0fa6489e0820...
Author: Michael Stefaniuc mstefani@redhat.de Date: Sat Jan 17 22:55:25 2009 +0100
mscms: Remove superfluous pointer casts.
---
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;