aboutsummaryrefslogtreecommitdiff
path: root/hw/pl181.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl181.c')
-rw-r--r--hw/pl181.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl181.c b/hw/pl181.c
index a905cbb210..bd067ddacc 100644
--- a/hw/pl181.c
+++ b/hw/pl181.c
@@ -333,7 +333,7 @@ static uint32_t pl181_read(void *opaque, target_phys_addr_t offset)
return value;
}
default:
- cpu_abort (cpu_single_env, "pl181_read: Bad offset %x\n", offset);
+ cpu_abort (cpu_single_env, "pl181_read: Bad offset %x\n", (int)offset);
return 0;
}
}
@@ -405,7 +405,7 @@ static void pl181_write(void *opaque, target_phys_addr_t offset,
}
break;
default:
- cpu_abort (cpu_single_env, "pl181_write: Bad offset %x\n", offset);
+ cpu_abort (cpu_single_env, "pl181_write: Bad offset %x\n", (int)offset);
}
pl181_update(s);
}