Commit 597b1804 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winedump: Fix version printing.

parent ed6e1dfc
...@@ -321,10 +321,10 @@ static int dump_msft_varflags(void) ...@@ -321,10 +321,10 @@ static int dump_msft_varflags(void)
static void dump_msft_version(void) static void dump_msft_version(void)
{ {
int version; unsigned version;
print_offset(); print_offset();
version = tlb_read_int(); 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) static void dump_msft_header(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment