diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-25 18:15:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-25 18:15:32 +0000 |
commit | 26a76461f259031f2c30cd5843a5ca91e056cf03 (patch) | |
tree | b8b67fe1ebe3cebc89dda18045dd3810dc07228a /kqemu.c | |
parent | 3b42c9794cb17f6af380dab2f08e1b1618f3b247 (diff) | |
download | qemu-26a76461f259031f2c30cd5843a5ca91e056cf03.zip qemu-26a76461f259031f2c30cd5843a5ca91e056cf03.tar.gz qemu-26a76461f259031f2c30cd5843a5ca91e056cf03.tar.bz2 |
C99 64 bit printf
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'kqemu.c')
-rw-r--r-- | kqemu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -598,12 +598,12 @@ void kqemu_record_dump(void) perror("/tmp/kqemu.stats"); exit(1); } - fprintf(f, "total: %lld\n", total); + fprintf(f, "total: %" PRId64 "\n", total); sum = 0; for(i = 0; i < nb_pc_records; i++) { r = pr[i]; sum += r->count; - fprintf(f, "%08lx: %lld %0.2f%% %0.2f%%\n", + fprintf(f, "%08lx: %" PRId64 " %0.2f%% %0.2f%%\n", r->pc, r->count, (double)r->count / (double)total * 100.0, |