[Spice-devel] [PATCH spice-gtk 15/44] fixup! usb-redir: extend USB backend to support emulated devices

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


Use GLib string formatting syntax to fix a warning on Windows
---
 src/usb-backend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usb-backend.c b/src/usb-backend.c
index cf1ae2b8..9753ba30 100644
--- a/src/usb-backend.c
+++ b/src/usb-backend.c
@@ -869,7 +869,7 @@ static void usbredir_bulk_packet(void *priv,
     SpiceUsbEmulatedDevice *edev = d ? d->edev : NULL;
     struct usb_redir_bulk_packet_header hout = *h;
     uint32_t len = (h->length_high << 16) | h->length;
-    SPICE_DEBUG("%s %p: ep %X, len %u, id %" PRIu64, __FUNCTION__,
+    SPICE_DEBUG("%s %p: ep %X, len %u, id %" G_GUINT64_FORMAT, __FUNCTION__,
                 ch, h->endpoint, len, id);
 
     if (!edev) {
-- 
2.20.1



More information about the Spice-devel mailing list