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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]