Eric Pouech : winedump: Fix incorrect alignment.

Alexandre Julliard julliard at winehq.org
Wed Oct 13 15:59:27 CDT 2021


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Oct 13 15:17:08 2021 +0200

winedump: Fix incorrect alignment.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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-cvs mailing list