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
8c13dcc2
Commit
8c13dcc2
authored
May 31, 2011
by
Marko Nikolic
Committed by
Alexandre Julliard
Jun 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Use unsigned constants to remove sign comparison warning.
parent
3ea13c9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
treeview.c
dlls/comctl32/tests/treeview.c
+3
-3
No files found.
dlls/comctl32/tests/treeview.c
View file @
8c13dcc2
...
...
@@ -634,7 +634,7 @@ static void test_get_set_bkcolor(void)
/* If the value is -1, the control is using the system color for the background color. */
crColor
=
(
COLORREF
)
SendMessage
(
hTree
,
TVM_GETBKCOLOR
,
0
,
0
);
ok
(
crColor
==
-
1
,
"Default background color reported as 0x%.8x
\n
"
,
crColor
);
ok
(
crColor
==
~
0u
,
"Default background color reported as 0x%.8x
\n
"
,
crColor
);
/* Test for black background */
SendMessage
(
hTree
,
TVM_SETBKCOLOR
,
0
,
RGB
(
0
,
0
,
0
)
);
...
...
@@ -873,7 +873,7 @@ static void test_get_set_textcolor(void)
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
crColor
=
(
COLORREF
)
SendMessage
(
hTree
,
TVM_GETTEXTCOLOR
,
0
,
0
);
ok
(
crColor
==
-
1
,
"Default text color reported as 0x%.8x
\n
"
,
crColor
);
ok
(
crColor
==
~
0u
,
"Default text color reported as 0x%.8x
\n
"
,
crColor
);
/* Test for black text */
SendMessage
(
hTree
,
TVM_SETTEXTCOLOR
,
0
,
RGB
(
0
,
0
,
0
)
);
...
...
@@ -1453,7 +1453,7 @@ static void test_WM_PAINT(void)
hTree
=
create_treeview_control
(
0
);
clr
=
SendMessageA
(
hTree
,
TVM_SETBKCOLOR
,
0
,
RGB
(
255
,
0
,
0
));
ok
(
clr
==
-
1
,
"got %d, expected -1
\n
"
,
clr
);
ok
(
clr
==
~
0u
,
"got %d, expected -1
\n
"
,
clr
);
hdc
=
GetDC
(
hMainWnd
);
...
...
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