Commit ed82acd1 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

psapi: Remove unneeded cast.

parent 69c984b9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment