From 0666c8e4ec94f4c9d4f9522b56d57b9b6c3f44e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Baczy=C5=84ski?= Date: Wed, 6 Jan 2010 23:38:31 +0100 Subject: [PATCH] rasapi32/tests: Remove superfluous void* cast. --- dlls/rasapi32/tests/rasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/rasapi32/tests/rasapi.c b/dlls/rasapi32/tests/rasapi.c index 11fca0eb4ad..1bc684cc6de 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");