Module: wine Branch: master Commit: 77f78ddbf92bd5b5785c88a041b9aedae0a50d39 URL: http://source.winehq.org/git/wine.git/?a=commit;h=77f78ddbf92bd5b5785c88a041...
Author: Francois Gouget fgouget@free.fr Date: Tue Jan 24 15:52:02 2017 +0100
iphlpapi/tests: Remove an unnecessary NULL cast.
Signed-off-by: Francois Gouget fgouget@free.fr Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 6991a39..cb73a9d 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 ); }