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
589d87f2
Commit
589d87f2
authored
Jun 04, 2011
by
Marko Nikolic
Committed by
Alexandre Julliard
Jun 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Removed sign comparison warning in monthcal tests.
parent
e398b939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
monthcal.c
dlls/comctl32/tests/monthcal.c
+5
-5
No files found.
dlls/comctl32/tests/monthcal.c
View file @
589d87f2
...
...
@@ -581,9 +581,9 @@ static void test_color(void)
/* invalid color index */
color
=
SendMessage
(
hwnd
,
MCM_GETCOLOR
,
MCSC_TRAILINGTEXT
+
1
,
0
);
expect
(
-
1
,
color
);
expect
(
~
0u
,
color
);
prev
=
SendMessage
(
hwnd
,
MCM_SETCOLOR
,
MCSC_TRAILINGTEXT
+
1
,
RGB
(
255
,
255
,
255
));
expect
(
-
1
,
prev
);
expect
(
~
0u
,
prev
);
color
=
SendMessage
(
hwnd
,
MCM_GETCOLOR
,
MCSC_BACKGROUND
,
0
);
prev
=
SendMessage
(
hwnd
,
MCM_SETCOLOR
,
MCSC_BACKGROUND
,
RGB
(
0
,
0
,
0
));
...
...
@@ -920,11 +920,11 @@ static void test_hittest(void)
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
0
,
mchit
.
pt
.
x
);
expect
(
0
,
mchit
.
pt
.
y
);
expect
(
-
1
,
res
);
expect
(
~
0u
,
res
);
expect
(
0
,
mchit
.
uHit
);
/* test with invalid pointer */
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
0
);
expect
(
-
1
,
res
);
expect
(
~
0u
,
res
);
/* resize control to display single Calendar */
res
=
SendMessage
(
hwnd
,
MCM_GETMINREQRECT
,
0
,
(
LPARAM
)
&
r
);
...
...
@@ -1655,7 +1655,7 @@ static void test_hittest_v6(void)
mchit
.
iRow
=
-
1
;
mchit
.
iCol
=
-
1
;
ret
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
if
(
ret
==
-
1
)
if
(
ret
==
~
0u
)
{
win_skip
(
"Only MCHITTESTINFO_V1 supported
\n
"
);
DestroyWindow
(
hwnd
);
...
...
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