Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b193b0b7
Commit
b193b0b7
authored
Jul 25, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use NULL instead of casting 0.
parent
2a08532c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sync.c
dlls/kernel32/tests/sync.c
+1
-1
No files found.
dlls/kernel32/tests/sync.c
View file @
b193b0b7
...
@@ -1183,7 +1183,7 @@ static void test_initonce(void)
...
@@ -1183,7 +1183,7 @@ static void test_initonce(void)
ret
=
pInitOnceExecuteOnce
(
&
initonce
,
initonce_callback
,
(
void
*
)
0xdeadbeef
,
&
g_initctxt
);
ret
=
pInitOnceExecuteOnce
(
&
initonce
,
initonce_callback
,
(
void
*
)
0xdeadbeef
,
&
g_initctxt
);
ok
(
ret
,
"got wrong ret value %d
\n
"
,
ret
);
ok
(
ret
,
"got wrong ret value %d
\n
"
,
ret
);
ok
(
initonce
.
Ptr
==
(
void
*
)
0x2
,
"got %p
\n
"
,
initonce
.
Ptr
);
ok
(
initonce
.
Ptr
==
(
void
*
)
0x2
,
"got %p
\n
"
,
initonce
.
Ptr
);
ok
(
g_initctxt
==
(
void
*
)
0
,
"got %p
\n
"
,
g_initctxt
);
ok
(
g_initctxt
==
NULL
,
"got %p
\n
"
,
g_initctxt
);
ok
(
!
g_initcallback_called
,
"got %d
\n
"
,
g_initcallback_called
);
ok
(
!
g_initcallback_called
,
"got %d
\n
"
,
g_initcallback_called
);
pInitOnceInitialize
(
&
initonce
);
pInitOnceInitialize
(
&
initonce
);
...
...
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