summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-10-21 05:19:39 +0200
committerJavier Jardón <jjardon@gnome.org>2009-10-21 19:38:20 +0200
commitd5f1b79fabe73345968b6b1f6035a9ba149adc38 (patch)
treecd51dead310f826b5a11978e461facef58a6be61
parent48f1b89eae8d67663f841865c8eaf1efe08b82a4 (diff)
downloadgdk-pixbuf-d5f1b79fabe73345968b6b1f6035a9ba149adc38.tar.gz
Fix compilation warnings: use G_GSIZE_FORMAT instead %i
-rw-r--r--modules/printbackends/lpr/gtkprintbackendlpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/printbackends/lpr/gtkprintbackendlpr.c b/modules/printbackends/lpr/gtkprintbackendlpr.c
index 72d9c33e0..f76206e0b 100644
--- a/modules/printbackends/lpr/gtkprintbackendlpr.c
+++ b/modules/printbackends/lpr/gtkprintbackendlpr.c
@@ -191,7 +191,7 @@ _cairo_write (void *closure,
}
GTK_NOTE (PRINTING,
- g_print ("LPR Backend: Wrote %i bytes to temp file\n", written));
+ g_print ("LPR Backend: Wrote %" G_GSIZE_FORMAT " bytes to temp file\n", written));
data += written;
length -= written;
@@ -303,7 +303,7 @@ lpr_write (GIOChannel *source,
}
GTK_NOTE (PRINTING,
- g_print ("LPR Backend: Writting %i byte chunk to lpr pipe\n", bytes_read));
+ g_print ("LPR Backend: Writting %" G_GSIZE_FORMAT " byte chunk to lpr pipe\n", bytes_read));
return TRUE;