From c36ce23795fd2d0fa6489e08204127e158009f0b Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sat, 17 Jan 2009 22:55:25 +0100 Subject: [PATCH] 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 6297bffefe..67b65ed664 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 2f9970c3d7..1c6811e068 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;