psapi: Remove unneeded cast.

This commit is contained in:
Andrew Talbot 2008-01-15 21:49:17 +00:00 committed by Alexandre Julliard
parent 69c984b9f2
commit ed82acd15d
1 changed files with 1 additions and 1 deletions

View File

@ -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;