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
6ea39eed
Commit
6ea39eed
authored
Apr 15, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Avoid casting zero.
parent
7f293b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rtl.c
dlls/ntdll/tests/rtl.c
+2
-2
No files found.
dlls/ntdll/tests/rtl.c
View file @
6ea39eed
...
...
@@ -1154,7 +1154,7 @@ static void test_RtlIpv4AddressToString(void)
CHAR
buffer
[
20
];
CHAR
*
res
;
IN_ADDR
ip
;
DWORD
len
;
DWORD
_PTR
len
;
if
(
!
pRtlIpv4AddressToStringA
)
{
...
...
@@ -1175,7 +1175,7 @@ static void test_RtlIpv4AddressToString(void)
res
=
pRtlIpv4AddressToStringA
(
&
ip
,
NULL
);
ok
(
(
res
==
(
char
*
)
~
0
)
||
broken
(
res
==
(
char
*
)
0
+
len
),
/* XP and w2003 */
broken
(
res
==
(
char
*
)
len
),
/* XP and w2003 */
"got %p (expected ~0)
\n
"
,
res
);
if
(
0
)
{
...
...
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