[PATCH 1/5] tools/winedump: fix incorrect alignment

Eric Pouech eric.pouech at gmail.com
Wed Oct 13 08:17:08 CDT 2021


(BTW dbghelp is already doing the right thing)

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 tools/winedump/msc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index 2c3d406347e..b7b7eb435ff 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -1161,7 +1161,7 @@ BOOL codeview_dump_types_from_block(const void* table, unsigned long len)
 
         codeview_dump_one_type(curr_type, type);
         curr_type++;
-        ptr += (type->generic.len + 2 + 3) & ~3;
+        ptr += type->generic.len + 2;
     }
 
     return TRUE;




More information about the wine-devel mailing list