addedd gcc-4.4.0
[dottout.git] / x11-libs / gtk+ / files / gtk+-2.12.1-cupsutils.patch
blob660cdc8906debe9a47a5a02c7cbac86da9f9fa2b
1 --- gtk+-2.12.1/modules/printbackends/cups/gtkcupsutils.c.orig 2007-09-13 22:35:49.000000000 +0200
2 +++ gtk+-2.12.1/modules/printbackends/cups/gtkcupsutils.c 2007-10-19 12:46:28.000000000 +0200
3 @@ -622,7 +622,7 @@ _post_send (GtkCupsRequest *request)
4 if (request->data_io != NULL)
6 fstat (g_io_channel_unix_get_fd (request->data_io), &data_info);
7 - sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request) + data_info.st_size);
8 + sprintf (length, "%lu", (unsigned long) (ippLength (request->ipp_request) + data_info.st_size));
10 else
11 sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request));