Fix MXCC printf warning (based on patch by Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5393 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-10-02 18:06:50 +00:00
parent 012a70458f
commit 9827e450e4

View File

@ -811,7 +811,7 @@ uint64_t helper_ld_asi(target_ulong addr, int asi, int size, int sign)
break;
}
DPRINTF_MXCC("asi = %d, size = %d, sign = %d, "
"addr = %08x -> ret = %08x,"
"addr = %08x -> ret = %" PRIx64 ","
"addr = %08x\n", asi, size, sign, last_addr, ret, addr);
#ifdef DEBUG_MXCC
dump_mxcc(env);
@ -1074,8 +1074,8 @@ void helper_st_asi(target_ulong addr, uint64_t val, int asi, int size)
size);
break;
}
DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %08x\n", asi,
size, addr, val);
DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %" PRIx64 "\n",
asi, size, addr, val);
#ifdef DEBUG_MXCC
dump_mxcc(env);
#endif