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:
parent
17795f0796
commit
42f5ff44bd
|
@ -452,8 +452,7 @@ char* memory_offset_to_string(char *str, DWORD64 offset, unsigned mode)
|
||||||
if (mode == 32)
|
if (mode == 32)
|
||||||
sprintf(str, "0x%08x", (unsigned int) offset);
|
sprintf(str, "0x%08x", (unsigned int) offset);
|
||||||
else
|
else
|
||||||
sprintf(str, "0x%08x%08x", (unsigned int)(offset >> 32),
|
sprintf(str, "%#016I64x", offset);
|
||||||
(unsigned int)offset);
|
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue