Francois Gouget : ntdll: Remove an unneeded cast.

Alexandre Julliard julliard at winehq.org
Mon Dec 1 07:34:12 CST 2008


Module: wine
Branch: master
Commit: 9eb62d3f9d3004bb24601f8d25c0b9d86971f804
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9eb62d3f9d3004bb24601f8d25c0b9d86971f804

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  1 11:10:18 2008 +0100

ntdll: Remove an unneeded cast.

---

 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++)
         {




More information about the wine-cvs mailing list