mscms: Remove superfluous pointer casts.
This commit is contained in:
parent
8dbc7a699e
commit
c36ce23795
@ -79,7 +79,7 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
|
|||||||
tag->offset = tmp->offset;
|
tag->offset = tmp->offset;
|
||||||
tag->size = tmp->size;
|
tag->size = tmp->size;
|
||||||
|
|
||||||
MSCMS_adjust_endianess32( (ULONG *)&tag->sig );
|
MSCMS_adjust_endianess32( &tag->sig );
|
||||||
MSCMS_adjust_endianess32( &tag->offset );
|
MSCMS_adjust_endianess32( &tag->offset );
|
||||||
MSCMS_adjust_endianess32( &tag->size );
|
MSCMS_adjust_endianess32( &tag->size );
|
||||||
}
|
}
|
||||||
|
@ -1461,7 +1461,7 @@ HPROFILE WINAPI OpenColorProfileW( PPROFILE profile, DWORD access, DWORD sharing
|
|||||||
{
|
{
|
||||||
DWORD size, read, flags = 0;
|
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_READ) flags = GENERIC_READ;
|
||||||
if (access & PROFILE_READWRITE) flags = GENERIC_READ|GENERIC_WRITE;
|
if (access & PROFILE_READWRITE) flags = GENERIC_READ|GENERIC_WRITE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user