cups: Fix cast warnings

This commit is contained in:
Benjamin Otte 2010-08-07 03:57:15 +02:00
parent 88b7857bc8
commit 53cf3d2edc
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 */
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)
{

View 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;