Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c36ce237
Commit
c36ce237
authored
Jan 17, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Remove superfluous pointer casts.
parent
8dbc7a69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
icc.c
dlls/mscms/icc.c
+1
-1
profile.c
dlls/mscms/profile.c
+1
-1
No files found.
dlls/mscms/icc.c
View file @
c36ce237
...
@@ -79,7 +79,7 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
...
@@ -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
);
}
}
...
...
dlls/mscms/profile.c
View file @
c36ce237
...
@@ -1461,7 +1461,7 @@ HPROFILE WINAPI OpenColorProfileW( PPROFILE profile, DWORD access, DWORD sharing
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment