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
5e78bab2
Commit
5e78bab2
authored
Mar 27, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Apr 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix compiler warnings with flag -Wcast-qual.
parent
9b933a35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cursoricon.c
dlls/user32/cursoricon.c
+4
-4
No files found.
dlls/user32/cursoricon.c
View file @
5e78bab2
...
...
@@ -1038,11 +1038,11 @@ static void riff_find_chunk( DWORD chunk_id, DWORD chunk_type, const riff_chunk_
while
(
ptr
<
end
)
{
if
((
!
chunk_type
&&
*
(
DWORD
*
)
ptr
==
chunk_id
)
||
(
chunk_type
&&
*
(
DWORD
*
)
ptr
==
chunk_type
&&
*
((
DWORD
*
)
ptr
+
2
)
==
chunk_id
))
if
((
!
chunk_type
&&
*
(
const
DWORD
*
)
ptr
==
chunk_id
)
||
(
chunk_type
&&
*
(
const
DWORD
*
)
ptr
==
chunk_type
&&
*
((
const
DWORD
*
)
ptr
+
2
)
==
chunk_id
))
{
ptr
+=
sizeof
(
DWORD
);
chunk
->
data_size
=
(
*
(
DWORD
*
)
ptr
+
1
)
&
~
1
;
chunk
->
data_size
=
(
*
(
const
DWORD
*
)
ptr
+
1
)
&
~
1
;
ptr
+=
sizeof
(
DWORD
);
if
(
chunk_type
==
ANI_LIST_ID
||
chunk_type
==
ANI_RIFF_ID
)
ptr
+=
sizeof
(
DWORD
);
chunk
->
data
=
ptr
;
...
...
@@ -1051,7 +1051,7 @@ static void riff_find_chunk( DWORD chunk_id, DWORD chunk_type, const riff_chunk_
}
ptr
+=
sizeof
(
DWORD
);
ptr
+=
(
*
(
DWORD
*
)
ptr
+
1
)
&
~
1
;
ptr
+=
(
*
(
const
DWORD
*
)
ptr
+
1
)
&
~
1
;
ptr
+=
sizeof
(
DWORD
);
}
}
...
...
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