[gdk-pixbuf: 1/2] gif: Fix debug printf format warnings
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf: 1/2] gif: Fix debug printf format warnings
- Date: Tue, 4 Dec 2018 08:44:04 +0000 (UTC)
commit cf008a8f0a19fbc34946ea3a0c195dc28d4b2de4
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 22 13:28:45 2018 +1300
gif: Fix debug printf format warnings
gdk-pixbuf/io-gif.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index 7a4ce36a4..7b7205a80 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -210,7 +210,7 @@ gif_read (GifContext *context, guchar *buffer, size_t len)
if (context->file) {
#ifdef IO_GIFDEBUG
count += len;
- g_print ("Fsize :%d\tcount :%d\t", len, count);
+ g_print ("Fsize :%zi\tcount :%d\t", len, count);
#endif
retval = (fread (buffer, 1, len, context->file) == len);
@@ -244,7 +244,7 @@ gif_read (GifContext *context, guchar *buffer, size_t len)
context->ptr += len;
context->amount_needed = 0;
#ifdef IO_GIFDEBUG
- g_print ("Psize :%d\tcount :%d\t", len, count);
+ g_print ("Psize :%zi\tcount :%d\t", len, count);
if (len < 100) {
for (i = 0; i < len; i++)
g_print ("%d ", buffer[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]