aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/patch-src-zfunc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7-base/files/patch-src-zfunc4.c')
-rw-r--r--print/ghostscript7-base/files/patch-src-zfunc4.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/patch-src-zfunc4.c b/print/ghostscript7-base/files/patch-src-zfunc4.c
new file mode 100644
index 000000000000..0d8610978652
--- /dev/null
+++ b/print/ghostscript7-base/files/patch-src-zfunc4.c
@@ -0,0 +1,13 @@
+--- src/zfunc4.c.orig 2013-04-30 10:45:00.000000000 +0900
++++ src/zfunc4.c 2013-04-30 10:45:23.000000000 +0900
+@@ -150,10 +150,6 @@
+ case t_integer: {
+ int i = elt.value.intval;
+
+-#if ARCH_SIZEOF_INT < ARCH_SIZEOF_LONG
+- if (i != elt.value.intval) /* check for truncation */
+- return_error(e_rangecheck);
+-#endif
+ if (i == (byte)i) {
+ *p = PtCr_byte;
+ p[1] = (byte)i;