psapi: Remove unneeded cast.
This commit is contained in:
parent
69c984b9f2
commit
ed82acd15d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue