summaryrefslogtreecommitdiffstats
path: root/hw/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/serial.c')
-rw-r--r--hw/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/serial.c b/hw/serial.c
index 6e37ead..4cdf230 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -635,9 +635,9 @@ static void serial_event(void *opaque, int event)
serial_receive_break(s);
}
-static void serial_pre_save(const void *opaque)
+static void serial_pre_save(void *opaque)
{
- SerialState *s = (void *)opaque;
+ SerialState *s = opaque;
s->fcr_vmstate = s->fcr;
}
OpenPOWER on IntegriCloud