diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-11 12:27:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-11 12:27:02 +0000 |
commit | 366c1b8bfa701705079ee2c7a786d76de37f4735 (patch) | |
tree | dad8ffddd1a9dc14bf3cf457bc1444ee9ad878a7 /translate-i386.c | |
parent | a993ba85cf50932cca8d697e2d45145fb21afafe (diff) |
warning fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@156 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-i386.c')
-rw-r--r-- | translate-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/translate-i386.c b/translate-i386.c index 0dd376b816..ffdada7aa1 100644 --- a/translate-i386.c +++ b/translate-i386.c @@ -3695,7 +3695,8 @@ static void dump_ops(const uint16_t *opc_buf, const uint32_t *opparam_buf) for(;;) { c = *opc_ptr++; n = op_nb_args[c]; - fprintf(logfile, "0x%04x: %s", opc_ptr - opc_buf - 1, op_str[c]); + fprintf(logfile, "0x%04x: %s", + (int)(opc_ptr - opc_buf - 1), op_str[c]); for(i = 0; i < n; i++) { fprintf(logfile, " 0x%x", opparam_ptr[i]); } |