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

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

 



Use GLib string formatting syntax to fix a warning on Windows
---
 src/usb-device-cd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
index 7ef5bca4..ba8e1bff 100644
--- a/src/usb-device-cd.c
+++ b/src/usb-device-cd.c
@@ -375,7 +375,7 @@ static gboolean load_lun(UsbCd *d, int unit, gboolean load)
             media_params.size % DVD_DEV_BLOCK_SIZE == 0) {
             media_params.block_size = DVD_DEV_BLOCK_SIZE;
         }
-        SPICE_DEBUG("%s: loading %s, size %" PRIu64 ", block %u",
+        SPICE_DEBUG("%s: loading %s, size %" G_GUINT64_FORMAT ", block %u",
                     __FUNCTION__, d->units[unit].filename, media_params.size, media_params.block_size);
 
         b = !cd_usb_bulk_msd_load(d->msc, unit, &media_params);
@@ -593,7 +593,7 @@ void cd_usb_bulk_msd_read_complete(void *user_data,
                 break;
             }
 
-            SPICE_DEBUG("%s: responding %" PRIu64 " with len %u out of %u, status %d",
+            SPICE_DEBUG("%s: responding %" G_GUINT64_FORMAT " with len %u out of %u, status %d",
                         __FUNCTION__, d->read_bulk[nread].id, max_len,
                         length, d->read_bulk[nread].hout.status);
             usbredirparser_send_bulk_packet(d->parser, d->read_bulk[nread].id,
-- 
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]