[gtk+/gtk-2-22] cups: Fix cast warnings
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] cups: Fix cast warnings
- Date: Sat, 7 Aug 2010 13:55:54 +0000 (UTC)
commit 53cf3d2edc855fa62e398774a0273dd125233e96
Author: Benjamin Otte <otte redhat com>
Date: Sat Aug 7 03:57:15 2010 +0200
cups: Fix cast warnings
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..a7b47f1 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 9d3a1eb..2a9b74c 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]