aboutsummaryrefslogtreecommitdiff
path: root/hw/display/tcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/tcx.c')
-rw-r--r--hw/display/tcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index 5968d33..4853c5e 100644
--- a/hw/display/tcx.c
+++ b/hw/display/tcx.c
@@ -885,7 +885,7 @@ static const Property tcx_properties[] = {
DEFINE_PROP_UINT16("depth", TCXState, depth, -1),
};
-static void tcx_class_init(ObjectClass *klass, void *data)
+static void tcx_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);