[Spice-devel] [PATCH spice-gtk 40/44] fixup! usb-redir: add implementation of emulated CD device

Frediano Ziglio fziglio at redhat.com
Tue Jul 30 12:03:27 UTC 2019


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



More information about the Spice-devel mailing list