[spice-gtk,39/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-38-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 GLib string formatting syntax to fix a warning on Windows
---
 src/usb-device-cd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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,