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
4f7fc170
Commit
4f7fc170
authored
Mar 16, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Use NULL instead of casting 0.
parent
3ec2b59f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cursoricon.c
dlls/user32/tests/cursoricon.c
+2
-2
No files found.
dlls/user32/tests/cursoricon.c
View file @
4f7fc170
...
...
@@ -1478,7 +1478,7 @@ static void test_GetCursorFrameInfo(void)
/* Check GetCursorFrameInfo behavior on a single-frame animated cursor */
unk1
=
unk2
=
unk3
=
unk4
=
0xdead
;
h2
=
pGetCursorFrameInfo
(
h1
,
&
unk1
,
(
VOID
*
)
0
,
&
unk3
,
&
unk4
);
h2
=
pGetCursorFrameInfo
(
h1
,
&
unk1
,
NULL
,
&
unk3
,
&
unk4
);
ok
(
h1
==
h2
,
"GetCursorFrameInfo() failed: (%p != %p).
\n
"
,
h1
,
h2
);
ok
(
unk1
==
0xdead
,
"GetCursorFrameInfo() unexpected param 2 value (0x%x != 0xdead).
\n
"
,
unk1
);
ok
(
unk2
==
0xdead
,
"GetCursorFrameInfo() unexpected param 3 value (0x%x != 0xdead).
\n
"
,
unk2
);
...
...
@@ -1560,7 +1560,7 @@ static void test_GetCursorFrameInfo(void)
/* Check GetCursorFrameInfo behavior on rate 0 for a multi-frame animated cursor (with num_steps == 1) */
unk1
=
unk2
=
unk3
=
unk4
=
0xdead
;
h2
=
pGetCursorFrameInfo
(
h1
,
&
unk1
,
(
VOID
*
)
0
,
&
unk3
,
&
unk4
);
h2
=
pGetCursorFrameInfo
(
h1
,
&
unk1
,
NULL
,
&
unk3
,
&
unk4
);
ok
(
h2
!=
0
,
"GetCursorFrameInfo() failed for cursor %p: (%p == 0).
\n
"
,
h1
,
h2
);
ok
(
unk1
==
0xdead
,
"GetCursorFrameInfo() unexpected param 2 value (0x%x != 0xdead).
\n
"
,
unk1
);
ok
(
unk2
==
0xdead
,
"GetCursorFrameInfo() unexpected param 3 value (0x%x != 0xdead).
\n
"
,
unk2
);
...
...
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