Module: wine
Branch: master
Commit: 9eb62d3f9d3004bb24601f8d25c0b9d86971f804
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9eb62d3f9d3004bb24601f8d2…
Author: Francois Gouget <fgouget(a)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++)
{