aboutsummaryrefslogtreecommitdiff
path: root/hw/ptimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ptimer.c')
-rw-r--r--hw/ptimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ptimer.c b/hw/ptimer.c
index a4343b67c6..4ddbc597e6 100644
--- a/hw/ptimer.c
+++ b/hw/ptimer.c
@@ -220,9 +220,9 @@ static int get_ptimer(QEMUFile *f, void *pv, size_t size)
return 0;
}
-static void put_ptimer(QEMUFile *f, const void *pv, size_t size)
+static void put_ptimer(QEMUFile *f, void *pv, size_t size)
{
- ptimer_state *v = (void *)pv;
+ ptimer_state *v = pv;
qemu_put_ptimer(f, v);
}