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
183f92b2
Commit
183f92b2
authored
Sep 13, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Sign-compare warnings fix.
parent
a392d377
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
comboex.c
dlls/comctl32/comboex.c
+1
-1
listview.c
dlls/comctl32/listview.c
+5
-4
No files found.
dlls/comctl32/comboex.c
View file @
183f92b2
...
...
@@ -198,7 +198,7 @@ static INT COMBOEX_Notify (COMBOEX_INFO *infoPtr, INT code, NMHDR *hdr)
static
INT
COMBOEX_NotifyItem
(
COMBOEX_INFO
*
infoPtr
,
INT
code
,
NMCOMBOBOXEXW
*
hdr
)
COMBOEX_NotifyItem
(
COMBOEX_INFO
*
infoPtr
,
U
INT
code
,
NMCOMBOBOXEXW
*
hdr
)
{
/* Change the Text item from Unicode to ANSI if necessary for NOTIFY */
if
(
infoPtr
->
NtfUnicode
)
...
...
dlls/comctl32/listview.c
View file @
183f92b2
...
...
@@ -542,7 +542,7 @@ static inline int lstrncmpiW(LPCWSTR s1, LPCWSTR s2, int n)
{
int
res
;
n
=
min
(
min
(
n
,
strlenW
(
s1
)),
strlenW
(
s2
));
n
=
min
(
min
(
n
,
lstrlenW
(
s1
)),
l
strlenW
(
s2
));
res
=
CompareStringW
(
LOCALE_USER_DEFAULT
,
NORM_IGNORECASE
,
s1
,
n
,
s2
,
n
);
return
res
?
res
-
sizeof
(
WCHAR
)
:
res
;
}
...
...
@@ -823,7 +823,7 @@ static BOOL notify_deleteitem(const LISTVIEW_INFO *infoPtr, INT nItem)
return
IsWindow
(
hwnd
);
}
static
int
get_ansi_notification
(
INT
unicodeNotificationCode
)
static
int
get_ansi_notification
(
U
INT
unicodeNotificationCode
)
{
switch
(
unicodeNotificationCode
)
{
...
...
@@ -847,11 +847,12 @@ static int get_ansi_notification(INT unicodeNotificationCode)
pdi : dispinfo structure (can be unicode or ansi)
isW : TRUE if dispinfo is Unicode
*/
static
BOOL
notify_dispinfoT
(
const
LISTVIEW_INFO
*
infoPtr
,
INT
notificationCode
,
LPNMLVDISPINFOW
pdi
,
BOOL
isW
)
static
BOOL
notify_dispinfoT
(
const
LISTVIEW_INFO
*
infoPtr
,
U
INT
notificationCode
,
LPNMLVDISPINFOW
pdi
,
BOOL
isW
)
{
BOOL
bResult
=
FALSE
;
BOOL
convertToAnsi
=
FALSE
,
convertToUnicode
=
FALSE
;
INT
cchTempBufMax
=
0
,
savCchTextMax
=
0
,
realNotifCode
;
INT
cchTempBufMax
=
0
,
savCchTextMax
=
0
;
UINT
realNotifCode
;
LPWSTR
pszTempBuf
=
NULL
,
savPszText
=
NULL
;
if
((
pdi
->
item
.
mask
&
LVIF_TEXT
)
&&
is_textT
(
pdi
->
item
.
pszText
,
isW
))
...
...
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