[gtk+] cups: Fix compile warnings with --enable-debug
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cups: Fix compile warnings with --enable-debug
- Date: Mon, 27 Sep 2010 18:53:27 +0000 (UTC)
commit efefc4e79441e6fa086639b9be25fd377bc2e97b
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 27 20:48:43 2010 +0200
cups: Fix compile warnings with --enable-debug
modules/printbackends/cups/gtkcupsutils.c | 2 +-
modules/printbackends/cups/gtkprintbackendcups.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/printbackends/cups/gtkcupsutils.c b/modules/printbackends/cups/gtkcupsutils.c
index 1023da0..d7c5b7c 100644
--- a/modules/printbackends/cups/gtkcupsutils.c
+++ b/modules/printbackends/cups/gtkcupsutils.c
@@ -1406,7 +1406,7 @@ _get_read_data (GtkCupsRequest *request)
#endif /* HAVE_CUPS_API_1_2 */
GTK_NOTE (PRINTING,
- g_print ("CUPS Backend: %i bytes read\n", bytes));
+ g_print ("CUPS Backend: %"G_GSIZE_FORMAT" bytes read\n", bytes));
if (bytes == 0)
{
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index c230859..62deac4 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -317,7 +317,7 @@ _cairo_write_to_cups (void *closure,
}
GTK_NOTE (PRINTING,
- g_print ("CUPS Backend: Wrote %i bytes to temp file\n", written));
+ g_print ("CUPS Backend: Wrote %"G_GSIZE_FORMAT" bytes to temp file\n", written));
data += written;
length -= written;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]