[gtk+/gtk-3-22] Avoid some compiler warnings
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Avoid some compiler warnings
- Date: Sun, 26 Mar 2017 15:25:04 +0000 (UTC)
commit 0155009d57563601af20896c2857fd22e6227260
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 23 15:13:13 2017 +0000
Avoid some compiler warnings
modules/printbackends/file/gtkprintbackendfile.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/printbackends/file/gtkprintbackendfile.c
b/modules/printbackends/file/gtkprintbackendfile.c
index 6d98d0f..4e2a25a 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]