winedbg: Simplify printf for 64 bit integers.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-04-11 09:43:55 +02:00 committed by Alexandre Julliard
parent 17795f0796
commit 42f5ff44bd
1 changed files with 1 additions and 2 deletions

View File

@ -452,8 +452,7 @@ char* memory_offset_to_string(char *str, DWORD64 offset, unsigned mode)
if (mode == 32)
sprintf(str, "0x%08x", (unsigned int) offset);
else
sprintf(str, "0x%08x%08x", (unsigned int)(offset >> 32),
(unsigned int)offset);
sprintf(str, "%#016I64x", offset);
return str;
}