[easytag] Fix conversion specifier in debug string



commit 4a22b73c4bee9ff40059b875220c6d69254a508e
Author: David King <amigadave amigadave com>
Date:   Tue Apr 22 15:37:13 2014 +0100

    Fix conversion specifier in debug string

 src/gio_wrapper.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gio_wrapper.cc b/src/gio_wrapper.cc
index 24b31ac..f5af912 100644
--- a/src/gio_wrapper.cc
+++ b/src/gio_wrapper.cc
@@ -293,7 +293,8 @@ GIO_IOStream::insert (TagLib::ByteVector const &data,
        }
 
         start -= r;
-        g_warning ("Wrote %lu bytes of %lu: %.*s", r, start, (int)r, buffer);
+        g_warning ("Wrote %lu bytes of %" G_GSIZE_FORMAT ": %.*s", r, start, r,
+                   buffer);
     }
 
     if (error)


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