Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
bd6f2181
Commit
bd6f2181
authored
Mar 26, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Mar 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix compiler warnings with flag -Wcast-qual.
parent
ca41486b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
datetime.c
dlls/comctl32/datetime.c
+1
-1
listview.c
dlls/comctl32/listview.c
+1
-1
tooltips.c
dlls/comctl32/tooltips.c
+3
-3
No files found.
dlls/comctl32/datetime.c
View file @
bd6f2181
...
...
@@ -949,7 +949,7 @@ DATETIME_Notify (DATETIME_INFO *infoPtr, const NMHDR *lpnmh)
DATETIME_SendSimpleNotify
(
infoPtr
,
DTN_CLOSEUP
);
}
if
((
lpnmh
->
hwndFrom
==
infoPtr
->
hUpdown
)
&&
(
lpnmh
->
code
==
UDN_DELTAPOS
))
{
LPNMUPDOWN
lpnmud
=
(
LPNMUPDOWN
)
lpnmh
;
const
NM_UPDOWN
*
lpnmud
=
(
const
NM_UPDOWN
*
)
lpnmh
;
TRACE
(
"Delta pos %d
\n
"
,
lpnmud
->
iDelta
);
infoPtr
->
pendingUpdown
=
lpnmud
->
iDelta
;
}
...
...
dlls/comctl32/listview.c
View file @
bd6f2181
...
...
@@ -802,7 +802,7 @@ static LRESULT notify_forward_header(const LISTVIEW_INFO *infoPtr, const NMHEADE
/* header always supplies unicode notifications,
all we have to do is to convert strings to ANSI */
nmhA
=
*
(
NMHEADERA
*
)
lpnmh
;
nmhA
=
*
(
const
NMHEADERA
*
)
lpnmh
;
if
(
lpnmh
->
pitem
)
{
hditema
=
*
(
HDITEMA
*
)
lpnmh
->
pitem
;
...
...
dlls/comctl32/tooltips.c
View file @
bd6f2181
...
...
@@ -1626,11 +1626,11 @@ TOOLTIPS_SetTitleT (TOOLTIPS_INFO *infoPtr, UINT_PTR uTitleIcon, LPCWSTR pszTitl
}
else
{
size
=
sizeof
(
WCHAR
)
*
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LPSTR
)
pszTitle
,
-
1
,
NULL
,
0
);
size
=
sizeof
(
WCHAR
)
*
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LP
C
STR
)
pszTitle
,
-
1
,
NULL
,
0
);
infoPtr
->
pszTitle
=
Alloc
(
size
);
if
(
!
infoPtr
->
pszTitle
)
return
FALSE
;
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LPSTR
)
pszTitle
,
-
1
,
infoPtr
->
pszTitle
,
size
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LP
C
STR
)
pszTitle
,
-
1
,
infoPtr
->
pszTitle
,
size
/
sizeof
(
WCHAR
));
}
}
else
...
...
@@ -1729,7 +1729,7 @@ TOOLTIPS_TrackActivate (TOOLTIPS_INFO *infoPtr, BOOL track_activate, const TTTOO
return
FALSE
;
/* activate */
infoPtr
->
nTrackTool
=
TOOLTIPS_GetToolFromInfoT
(
infoPtr
,
(
TTTOOLINFOW
*
)
ti
);
infoPtr
->
nTrackTool
=
TOOLTIPS_GetToolFromInfoT
(
infoPtr
,
(
const
TTTOOLINFOW
*
)
ti
);
if
(
infoPtr
->
nTrackTool
!=
-
1
)
{
TRACE
(
"activated!
\n
"
);
infoPtr
->
bTrackActive
=
TRUE
;
...
...
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