cups: Fix compile warnings with --enable-debug

This commit is contained in:
Benjamin Otte 2010-09-27 20:48:43 +02:00
parent f0d337a0ca
commit efefc4e794
2 changed files with 2 additions and 2 deletions

View File

@ -1406,7 +1406,7 @@ _get_read_data (GtkCupsRequest *request)
#endif /* HAVE_CUPS_API_1_2 */ #endif /* HAVE_CUPS_API_1_2 */
GTK_NOTE (PRINTING, 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) if (bytes == 0)
{ {

View File

@ -317,7 +317,7 @@ _cairo_write_to_cups (void *closure,
} }
GTK_NOTE (PRINTING, 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; data += written;
length -= written; length -= written;