Commit 7ee81d7b authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

winedbg: Print 64bit integers with wine_dbgstr_longlong.

parent b3cf216d
......@@ -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:
......
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