mscms: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-17 22:55:25 +01:00 committed by Alexandre Julliard
parent 8dbc7a699e
commit c36ce23795
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}

View File

@ -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;