Commit 42f5ff44 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Simplify printf for 64 bit integers.

parent 17795f07
......@@ -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;
}
......
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