ntdll/tests: Avoid casting zero.

Michael Stefaniuc mstefani at redhat.de
Sun Apr 15 14:58:50 CDT 2012


---
 dlls/ntdll/tests/rtl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 63bc813..ba2d994 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -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) {
-- 
1.7.6.5



More information about the wine-patches mailing list