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

Submitted by Frediano Ziglio on July 30, 2019, 12:03 p.m.

Details

Message ID 20190730120331.17967-39-fziglio@redhat.com
State Superseded
Headers show
Series "Follow ups for CD emulation patch series" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio July 30, 2019, 12:03 p.m.
Use proper type for UsbCdBulkMsdDevice pointer, more type safe.
---
 src/usb-device-cd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;