Francois Gouget : dinput/tests: Remove an unneeded NULL cast.
Alexandre Julliard
julliard at winehq.org
Mon Feb 14 15:41:31 CST 2022
Module: wine
Branch: master
Commit: 57d342afe50db084a4b812e6db90ad4142dcd3df
URL: https://source.winehq.org/git/wine.git/?a=commit;h=57d342afe50db084a4b812e6db90ad4142dcd3df
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Feb 14 13:57:49 2022 +0100
dinput/tests: Remove an unneeded NULL cast.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/tests/hid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dinput/tests/hid.c b/dlls/dinput/tests/hid.c
index 71e9f66834c..83635146324 100644
--- a/dlls/dinput/tests/hid.c
+++ b/dlls/dinput/tests/hid.c
@@ -3547,7 +3547,7 @@ DWORD WINAPI dinput_test_device_thread( void *stop_event )
ok( !status, "RegSetValueExW returned %#lx\n", status );
status = RegSetValueExW( hkey, L"Caps", 0, REG_BINARY, (void *)&caps, sizeof(caps) );
ok( !status, "RegSetValueExW returned %#lx\n", status );
- status = RegSetValueExW( hkey, L"Expect", 0, REG_BINARY, (void *)NULL, 0 );
+ status = RegSetValueExW( hkey, L"Expect", 0, REG_BINARY, NULL, 0 );
ok( !status, "RegSetValueExW returned %#lx\n", status );
status = RegSetValueExW( hkey, L"Input", 0, REG_BINARY, NULL, 0 );
ok( !status, "RegSetValueExW returned %#lx\n", status );
More information about the wine-cvs
mailing list