dbghelp: change pointer cast to DWORD_PTR

Austin English austinenglish at gmail.com
Sun Feb 22 15:28:19 CST 2009


-- 
-Austin
-------------- next part --------------
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-patches mailing list