From 005b9066f43b5abde9803ae3fad5809eeea6152d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Baczy=C5=84ski?= Date: Wed, 6 Jan 2010 23:38:27 +0100 Subject: [PATCH] advapi32/tests: Remove superfluous void* cast. --- dlls/advapi32/tests/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index 001b909d958..8c986e5dbca 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -1673,7 +1673,7 @@ static void test_LookupAccountSid(void) This assumes this process is running under the account of the current user.*/ ret = OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY|TOKEN_DUPLICATE, &hToken); ret = GetTokenInformation(hToken, TokenUser, NULL, 0, &cbti); - ptiUser = (PTOKEN_USER) HeapAlloc(GetProcessHeap(), 0, cbti); + ptiUser = HeapAlloc(GetProcessHeap(), 0, cbti); if (GetTokenInformation(hToken, TokenUser, ptiUser, cbti, &cbti)) { acc_sizeA = dom_sizeA = MAX_PATH;