iphlpapi/tests: Remove an unnecessary NULL cast.
Francois Gouget
fgouget at free.fr
Tue Jan 24 08:52:02 CST 2017
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/iphlpapi/tests/iphlpapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 6991a39a176..cb73a9d3976 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -1582,7 +1582,7 @@ static void test_AllocateAndGetTcpExTableFromStack(void)
ok( ret == ERROR_INVALID_PARAMETER, "got %u\n", ret );
ret = pAllocateAndGetTcpExTableFromStack( (void **)&table_ex, FALSE, INVALID_HANDLE_VALUE, 0, AF_INET );
ok( ret == ERROR_INVALID_PARAMETER, "got %u\n", ret );
- ret = pAllocateAndGetTcpExTableFromStack( (void **)NULL, FALSE, GetProcessHeap(), 0, AF_INET );
+ ret = pAllocateAndGetTcpExTableFromStack( NULL, FALSE, GetProcessHeap(), 0, AF_INET );
ok( ret == ERROR_INVALID_PARAMETER, "got %u\n", ret );
}
--
2.11.0
More information about the wine-patches
mailing list