[gupnp-tools] Avoid compiler warning by using format constant



commit e56cc0eefa2e00ab6324031c4b08c6214b9e767a
Author: Jens Georg <mail jensge org>
Date:   Mon Aug 1 12:37:12 2011 +0200

    Avoid compiler warning by using format constant
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659315

 src/upload/transfer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/upload/transfer.c b/src/upload/transfer.c
index 9b1d5bc..a1fcdaf 100644
--- a/src/upload/transfer.c
+++ b/src/upload/transfer.c
@@ -76,7 +76,7 @@ get_transfer_progress_cb (GUPnPServiceProxy       *cds_proxy,
                 if (total > 0) {
                         guint64 progress = length * 100 / total;
 
-                        g_print ("\b\b\b%2llu%%", progress);
+                        g_print ("\b\b\b%2" G_GUINT64_FORMAT "%%", progress);
                 }
 
                 data->action = NULL;



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