ntdll: Remove an unneeded cast.

Francois Gouget fgouget at free.fr
Mon Dec 1 04:10:18 CST 2008


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

diff --git a/dlls/ntdll/tests/atom.c b/dlls/ntdll/tests/atom.c
index e86f3cd..7526654 100644
--- a/dlls/ntdll/tests/atom.c
+++ b/dlls/ntdll/tests/atom.c
@@ -307,7 +307,7 @@ static void test_NtIntAtom(void)
     {
         /* According to the kernel32 functions, integer atoms are only allowed from
          * 0x0001 to 0xbfff and not 0xc000 to 0xffff, which is correct */
-        res = pRtlAddAtomToAtomTable(AtomTable, (PWSTR)0, &testAtom);
+        res = pRtlAddAtomToAtomTable(AtomTable, NULL, &testAtom);
         ok(res == STATUS_INVALID_PARAMETER, "Didn't get expected result from adding 0 int atom, retval: %x\n", res);
         for (i = 1; i <= 0xbfff; i++)
         {
-- 
1.5.6.5




More information about the wine-patches mailing list