From 41389ca98ccaf0b0356367d5377f2dc7699c217f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 23 Mar 2017 15:13:13 +0000 Subject: Avoid some compiler warnings --- modules/printbackends/file/gtkprintbackendfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') 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; } -- cgit v1.2.1