Marcin Baczyński : rasapi32/tests: Remove superfluous void* cast.
Alexandre Julliard
julliard at winehq.org
Thu Jan 7 13:08:34 CST 2010
Module: wine
Branch: master
Commit: 0666c8e4ec94f4c9d4f9522b56d57b9b6c3f44e2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0666c8e4ec94f4c9d4f9522b56d57b9b6c3f44e2
Author: Marcin Baczyński <marbacz at gmail.com>
Date: Wed Jan 6 23:38:31 2010 +0100
rasapi32/tests: Remove superfluous void* cast.
---
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");
More information about the wine-cvs
mailing list