Austin English : dbghelp: Change pointer cast to DWORD_PTR.

Alexandre Julliard julliard at winehq.org
Mon Feb 23 10:00:35 CST 2009


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

Author: Austin English <austinenglish at gmail.com>
Date:   Sun Feb 22 15:28:19 2009 -0600

dbghelp: Change pointer cast to DWORD_PTR.

---

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

diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index f293140..99de037 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -2524,7 +2524,7 @@ static BOOL pdb_process_internal(const struct process* pcs,
             }
             file_name = (const char*)file + size;
             file_name += strlen(file_name) + 1;
-            file = (BYTE*)((DWORD)(file_name + strlen(file_name) + 1 + 3) & ~3);
+            file = (BYTE*)((DWORD_PTR)(file_name + strlen(file_name) + 1 + 3) & ~3);
         }
         /* finish the remaining public and global information */
         if (globalimage)




More information about the wine-cvs mailing list