summaryrefslogtreecommitdiff
path: root/print/ghostscript7-x11/files/patch-src_iutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7-x11/files/patch-src_iutil.c')
-rw-r--r--print/ghostscript7-x11/files/patch-src_iutil.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7-x11/files/patch-src_iutil.c b/print/ghostscript7-x11/files/patch-src_iutil.c
new file mode 100644
index 000000000000..7e754463bd42
--- /dev/null
+++ b/print/ghostscript7-x11/files/patch-src_iutil.c
@@ -0,0 +1,11 @@
+--- src/iutil.c.orig 2003-01-17 00:49:04 UTC
++++ src/iutil.c
+@@ -428,7 +428,7 @@ other:
+ data = (const byte *)(op->value.boolval ? "true" : "false");
+ break;
+ case t_integer:
+- sprintf(buf, "%ld", op->value.intval);
++ sprintf(buf, "%d", op->value.intval);
+ break;
+ case t_string:
+ check_read(*op);