[PATCH] rasapi32/tests: remove superfluous void* cast

Marcin Baczyński marbacz at gmail.com
Wed Jan 6 16:38:31 CST 2010


---
 dlls/rasapi32/tests/rasapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rasapi32/tests/rasapi.c b/dlls/rasapi32/tests/rasapi.c
index 11fca0e..1bc684c 100644
--- a/dlls/rasapi32/tests/rasapi.c
+++ b/dlls/rasapi32/tests/rasapi.c
@@ -67,7 +67,7 @@ static void test_rasenum(void)
     ok(result == ERROR_BUFFER_TOO_SMALL,
     "Expected ERROR_BUFFER_TOO_SMALL, got %08d\n", result);
 
-    rasDevInfo = (LPRASDEVINFO) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
+    rasDevInfo = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
                                           max(bufsize,sizeof(RASDEVINFOA)));
     if(!rasDevInfo) {
         win_skip("failed to allocate buffer for RasEnumDevicesA tests\n");
-- 
1.6.6




More information about the wine-patches mailing list