diff options
Diffstat (limited to 'hw/fdc.c')
-rw-r--r-- | hw/fdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -643,9 +643,9 @@ static const VMStateDescription vmstate_fdrive = { } }; -static void fdc_pre_save(const void *opaque) +static void fdc_pre_save(void *opaque) { - fdctrl_t *s = (void *)opaque; + fdctrl_t *s = opaque; s->dor_vmstate = s->dor | GET_CUR_DRV(s); } |