mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4556bd8b25
commit
0bfcd599e3
14 changed files with 67 additions and 60 deletions
|
@ -8918,7 +8918,7 @@ void cpu_dump_statistics (CPUState *env, FILE*f,
|
|||
if (handler->count == 0)
|
||||
continue;
|
||||
cpu_fprintf(f, "%02x %02x %02x (%02x %04d) %16s: "
|
||||
"%016llx %lld\n",
|
||||
"%016" PRIx64 " %" PRId64 "\n",
|
||||
op1, op2, op3, op1, (op3 << 5) | op2,
|
||||
handler->oname,
|
||||
handler->count, handler->count);
|
||||
|
@ -8927,7 +8927,7 @@ void cpu_dump_statistics (CPUState *env, FILE*f,
|
|||
if (handler->count == 0)
|
||||
continue;
|
||||
cpu_fprintf(f, "%02x %02x (%02x %04d) %16s: "
|
||||
"%016llx %lld\n",
|
||||
"%016" PRIx64 " %" PRId64 "\n",
|
||||
op1, op2, op1, op2, handler->oname,
|
||||
handler->count, handler->count);
|
||||
}
|
||||
|
@ -8935,7 +8935,8 @@ void cpu_dump_statistics (CPUState *env, FILE*f,
|
|||
} else {
|
||||
if (handler->count == 0)
|
||||
continue;
|
||||
cpu_fprintf(f, "%02x (%02x ) %16s: %016llx %lld\n",
|
||||
cpu_fprintf(f, "%02x (%02x ) %16s: %016" PRIx64
|
||||
" %" PRId64 "\n",
|
||||
op1, op1, handler->oname,
|
||||
handler->count, handler->count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue