[PATCH 5/8] winedump: Fix version printing.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jul 9 22:41:44 CDT 2018
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
tools/winedump/tlb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winedump/tlb.c b/tools/winedump/tlb.c
index bc19087fc5..330fee8fbf 100644
--- a/tools/winedump/tlb.c
+++ b/tools/winedump/tlb.c
@@ -321,10 +321,10 @@ static int dump_msft_varflags(void)
static void dump_msft_version(void)
{
- int version;
+ unsigned version;
print_offset();
version = tlb_read_int();
- printf("version = %d.%d\n", version & 0xff, version >> 16);
+ printf("version = %u.%u\n", version & 0xffff, version >> 16);
}
static void dump_msft_header(void)
--
2.17.1
More information about the wine-devel
mailing list