Use proper type for UsbCdBulkMsdDevice pointer, more type safe. --- src/usb-device-cd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c index ba8e1bff..cda6ca3e 100644 --- a/src/usb-device-cd.c +++ b/src/usb-device-cd.c @@ -78,7 +78,7 @@ struct SpiceUsbEmulatedDevice { SpiceUsbBackend *backend; SpiceUsbBackendDevice *parent; struct usbredirparser *parser; - void * msc; + UsbCdBulkMsdDevice* msc; SpiceCdLU units[MAX_LUN_PER_DEVICE]; gboolean locked; gboolean delete_on_eject; -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel