summaryrefslogtreecommitdiff
path: root/modules/printbackends
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-11-22 06:04:41 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-11-22 06:04:41 +0000
commit68c479638043c840c2e2d04d1a01cfe5b1c78c4d (patch)
tree501c367610381547b9bcd206f69d101f3fcbfeb3 /modules/printbackends
parent1ece9d4e40b5b9dcd398597004e053795238bd74 (diff)
downloadgtk+-68c479638043c840c2e2d04d1a01cfe5b1c78c4d.tar.gz
Fix a casting problem. (#485662, patch by Herbert Valerio Riedel)
2007-11-22 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem. (#485662, patch by Herbert Valerio Riedel) svn path=/trunk/; revision=19025
Diffstat (limited to 'modules/printbackends')
-rw-r--r--modules/printbackends/cups/gtkcupsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/printbackends/cups/gtkcupsutils.c b/modules/printbackends/cups/gtkcupsutils.c
index ca7986e43d..da729bf3c0 100644
--- a/modules/printbackends/cups/gtkcupsutils.c
+++ b/modules/printbackends/cups/gtkcupsutils.c
@@ -622,7 +622,7 @@ _post_send (GtkCupsRequest *request)
if (request->data_io != NULL)
{
fstat (g_io_channel_unix_get_fd (request->data_io), &data_info);
- sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request) + data_info.st_size);
+ sprintf (length, "%lu", (unsigned long) (ippLength (request->ipp_request) + data_info.st_size));
}
else
sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request));