From ed82acd15de20ba8916da9c14487bf09050a9fcd Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 15 Jan 2008 21:49:17 +0000 Subject: [PATCH] psapi: Remove unneeded cast. --- dlls/psapi/psapi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/psapi/psapi_main.c b/dlls/psapi/psapi_main.c index 7b1588b18a8..9fe8281f9d3 100644 --- a/dlls/psapi/psapi_main.c +++ b/dlls/psapi/psapi_main.c @@ -66,7 +66,7 @@ static BOOL PSAPI_ModuleIteratorInit(MODULE_ITERATOR *iter, HANDLE hProcess) } /* Read address of LdrData from PEB */ - if (!ReadProcessMemory(hProcess, &((PPEB)pbi.PebBaseAddress)->LdrData, + if (!ReadProcessMemory(hProcess, &pbi.PebBaseAddress->LdrData, &pLdrData, sizeof(pLdrData), NULL)) return FALSE;