diff options
Diffstat (limited to 'hw/hpet.c')
-rw-r--r-- | hw/hpet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,9 +157,9 @@ static void update_irq(struct HPETTimer *timer) } } -static void hpet_pre_save(const void *opaque) +static void hpet_pre_save(void *opaque) { - HPETState *s = (void *)opaque; + HPETState *s = opaque; /* save current counter value */ s->hpet_counter = hpet_get_ticks(); } |