From d297f464d386f85eda77263d81c598c7aaff46d9 Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Mon, 30 Jun 2008 08:59:49 +0000 Subject: Avoid CRIS related warnings by Jan Kiszka. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4804 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/etraxfs_timer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hw/etraxfs_timer.c') diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index e996c57f6a..789992a2dd 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -80,8 +80,8 @@ static uint32_t timer_rinvalid (void *opaque, target_phys_addr_t addr) { struct fs_timer_t *t = opaque; CPUState *env = t->env; - cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n", - addr, env->pc); + cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx + " pc=%x.\n", addr, env->pc); return 0; } @@ -120,8 +120,8 @@ timer_winvalid (void *opaque, target_phys_addr_t addr, uint32_t value) { struct fs_timer_t *t = opaque; CPUState *env = t->env; - cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n", - addr, env->pc); + cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx + " pc=%x.\n", addr, env->pc); } #define TIMER_SLOWDOWN 1 @@ -309,7 +309,7 @@ timer_writel (void *opaque, target_phys_addr_t addr, uint32_t value) t->rw_ack_intr = 0; break; default: - printf ("%s %x %x pc=%x\n", + printf ("%s " TARGET_FMT_plx " %x pc=%x\n", __func__, addr, value, env->pc); break; } -- cgit v1.2.3