summary refs log tree commit diff stats
path: root/hw/pl190.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl190.c')
-rw-r--r--hw/pl190.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl190.c b/hw/pl190.c
index 23494d8e10..79ba3ab790 100644
--- a/hw/pl190.c
+++ b/hw/pl190.c
@@ -139,7 +139,7 @@ static uint32_t pl190_read(void *opaque, target_phys_addr_t offset)
     case 13: /* DEFVECTADDR */
         return s->vect_addr[16];
     default:
-        cpu_abort (cpu_single_env, "pl190_read: Bad offset %x\n", offset);
+        cpu_abort (cpu_single_env, "pl190_read: Bad offset %x\n", (int)offset);
         return 0;
     }
 }
@@ -197,7 +197,7 @@ static void pl190_write(void *opaque, target_phys_addr_t offset, uint32_t val)
             cpu_abort(cpu_single_env, "pl190: Test mode not implemented\n");
         break;
     default:
-        cpu_abort(cpu_single_env, "pl190_write: Bad offset %x\n", offset);
+        cpu_abort(cpu_single_env, "pl190_write: Bad offset %x\n", (int)offset);
         return;
     }
     pl190_update(s);