Commit 9827e450e46cecf2b8e1aecf29717998a56d088a

Authored by blueswir1
1 parent 012a7045

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
Showing 1 changed file with 3 additions and 3 deletions
target-sparc/op_helper.c
... ... @@ -811,7 +811,7 @@ uint64_t helper_ld_asi(target_ulong addr, int asi, int size, int sign)
811 811 break;
812 812 }
813 813 DPRINTF_MXCC("asi = %d, size = %d, sign = %d, "
814   - "addr = %08x -> ret = %08x,"
  814 + "addr = %08x -> ret = %" PRIx64 ","
815 815 "addr = %08x\n", asi, size, sign, last_addr, ret, addr);
816 816 #ifdef DEBUG_MXCC
817 817 dump_mxcc(env);
... ... @@ -1074,8 +1074,8 @@ void helper_st_asi(target_ulong addr, uint64_t val, int asi, int size)
1074 1074 size);
1075 1075 break;
1076 1076 }
1077   - DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %08x\n", asi,
1078   - size, addr, val);
  1077 + DPRINTF_MXCC("asi = %d, size = %d, addr = %08x, val = %" PRIx64 "\n",
  1078 + asi, size, addr, val);
1079 1079 #ifdef DEBUG_MXCC
1080 1080 dump_mxcc(env);
1081 1081 #endif
... ...