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
819464f1
Commit
819464f1
authored
Mar 28, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix compiler warnings with flag -Wcast-qual.
parent
95100a6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
menu.c
dlls/user32/menu.c
+2
-2
No files found.
dlls/user32/menu.c
View file @
819464f1
...
...
@@ -4728,7 +4728,7 @@ BOOL WINAPI SetMenuItemInfoA(HMENU hmenu, UINT item, BOOL bypos,
TRACE
(
"hmenu %p, item %u, by pos %d, info %p
\n
"
,
hmenu
,
item
,
bypos
,
lpmii
);
if
(
!
MENU_NormalizeMenuItemInfoStruct
(
(
MENUITEMINFOW
*
)
lpmii
,
&
mii
))
return
FALSE
;
if
(
!
MENU_NormalizeMenuItemInfoStruct
(
(
const
MENUITEMINFOW
*
)
lpmii
,
&
mii
))
return
FALSE
;
return
SetMenuItemInfo_common
(
MENU_FindItem
(
&
hmenu
,
&
item
,
bypos
?
MF_BYPOSITION
:
0
),
&
mii
,
FALSE
);
...
...
@@ -4851,7 +4851,7 @@ BOOL WINAPI InsertMenuItemA(HMENU hMenu, UINT uItem, BOOL bypos,
TRACE
(
"hmenu %p, item %04x, by pos %d, info %p
\n
"
,
hMenu
,
uItem
,
bypos
,
lpmii
);
if
(
!
MENU_NormalizeMenuItemInfoStruct
(
(
MENUITEMINFOW
*
)
lpmii
,
&
mii
))
return
FALSE
;
if
(
!
MENU_NormalizeMenuItemInfoStruct
(
(
const
MENUITEMINFOW
*
)
lpmii
,
&
mii
))
return
FALSE
;
item
=
MENU_InsertItem
(
hMenu
,
uItem
,
bypos
?
MF_BYPOSITION
:
0
);
return
SetMenuItemInfo_common
(
item
,
&
mii
,
FALSE
);
...
...
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