From 7ee81d7b036d2ac11abf3067e37ae144d894eb08 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Sun, 13 Aug 2006 09:29:18 +0200 Subject: [PATCH] winedbg: Print 64bit integers with wine_dbgstr_longlong. --- programs/winedbg/memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c index fef8209cbf4..dc8717532ee 100644 --- a/programs/winedbg/memory.c +++ b/programs/winedbg/memory.c @@ -325,11 +325,11 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue) { case btInt: if (!be_cpu->fetch_integer(lvalue, size, TRUE, &val_int)) return; - dbg_printf("%lld", val_int); + dbg_printf("%s", wine_dbgstr_longlong(val_int)); break; case btUInt: if (!be_cpu->fetch_integer(lvalue, size, FALSE, &val_int)) return; - dbg_printf("%llu", val_int); + dbg_printf("%s", wine_dbgstr_longlong(val_int)); break; case btFloat: if (!be_cpu->fetch_float(lvalue, size, &val_real)) return; @@ -436,7 +436,7 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue) count -= min(count, 256); fcp->Start += 256; } - if (!ok) dbg_printf("%lld", val_int); + if (!ok) dbg_printf("%s", wine_dbgstr_longlong(val_int)); } break; default: