Francois Gouget : iphlpapi/tests: Remove an unnecessary NULL cast.

Alexandre Julliard julliard at winehq.org
Wed Jan 25 13:18:53 CST 2017


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jan 24 15:52:02 2017 +0100

iphlpapi/tests: Remove an unnecessary NULL cast.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at 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 );
     }
 




More information about the wine-cvs mailing list