diff options
Diffstat (limited to 'backends/vhost-user.c')
-rw-r--r-- | backends/vhost-user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/vhost-user.c b/backends/vhost-user.c index d0e4d71..94274a6 100644 --- a/backends/vhost-user.c +++ b/backends/vhost-user.c @@ -163,7 +163,7 @@ static char *get_chardev(Object *obj, Error **errp) return NULL; } -static void vhost_user_backend_class_init(ObjectClass *oc, void *data) +static void vhost_user_backend_class_init(ObjectClass *oc, const void *data) { object_class_property_add_str(oc, "chardev", get_chardev, set_chardev); } |