Andrew Talbot : psapi: Remove unneeded cast.

Alexandre Julliard julliard at winehq.org
Wed Jan 16 07:09:32 CST 2008


Module: wine
Branch: master
Commit: ed82acd15de20ba8916da9c14487bf09050a9fcd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ed82acd15de20ba8916da9c14487bf09050a9fcd

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Jan 15 21:49:17 2008 +0000

psapi: Remove unneeded cast.

---

 dlls/psapi/psapi_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/psapi/psapi_main.c b/dlls/psapi/psapi_main.c
index 7b1588b..9fe8281 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;
 




More information about the wine-cvs mailing list