]> Pileus Git - ~andy/gtk/commitdiff
cups: Fix compile warnings with --enable-debug
authorBenjamin Otte <otte@redhat.com>
Mon, 27 Sep 2010 18:48:43 +0000 (20:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 27 Sep 2010 18:48:43 +0000 (20:48 +0200)
modules/printbackends/cups/gtkcupsutils.c
modules/printbackends/cups/gtkprintbackendcups.c

index 1023da09e6d0ceef4be37ecc6234a97e1c0b8301..d7c5b7cce0b8e2715b9ebd55446a7cb7c9357c94 100644 (file)
@@ -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)
     {
index c2308591b666d610e0bcd7456b9220c038d2c088..62deac4bcb3593989e39378e258a556f56e6f5d3 100644 (file)
@@ -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;