summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-03-23 15:13:13 +0000
committerMatthias Clasen <mclasen@redhat.com>2017-03-23 15:15:12 +0000
commit41389ca98ccaf0b0356367d5377f2dc7699c217f (patch)
tree743e55fb75cdcde08cfe7c3dc1e3ecaefb6f4f03
parent04c6811c3da3a761d51c3e14380f2d8e15d18ebd (diff)
downloadgtk+-41389ca98ccaf0b0356367d5377f2dc7699c217f.tar.gz
Avoid some compiler warnings
-rw-r--r--modules/printbackends/file/gtkprintbackendfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/printbackends/file/gtkprintbackendfile.c b/modules/printbackends/file/gtkprintbackendfile.c
index 4f479fb6ce..c584b19f9d 100644
--- a/modules/printbackends/file/gtkprintbackendfile.c
+++ b/modules/printbackends/file/gtkprintbackendfile.c
@@ -299,7 +299,7 @@ _cairo_write (void *closure,
error = NULL;
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Writting %i byte chunk to temp file\n", length));
+ g_print ("FILE Backend: Writting %u byte chunk to temp file\n", length));
while (length > 0)
{
@@ -321,7 +321,7 @@ _cairo_write (void *closure,
}
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Wrote %i bytes to temp file\n", written));
+ g_print ("FILE Backend: Wrote %zd bytes to temp file\n", written));
data += written;
length -= written;
@@ -472,7 +472,7 @@ file_write (GIOChannel *source,
}
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Writting %i byte chunk to target file\n", bytes_read));
+ g_print ("FILE Backend: Writting %lu byte chunk to target file\n", bytes_read));
return TRUE;
}