summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-src-zstack.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-11-23 06:14:21 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-11-23 06:14:21 +0000
commit118978bf4c6dbf7ffc92a190aab60942c56093f4 (patch)
tree129b54759668029d5b4e2c90770cbd6d51066db8 /print/ghostscript7/files/patch-src-zstack.c
parentUpgrade to 4.7.1 (diff)
Resurrect print/ghostscript7{,-commfont,-jpnfont,-korfont,-nox11}.
Notes
Notes: svn path=/head/; revision=373122
Diffstat (limited to 'print/ghostscript7/files/patch-src-zstack.c')
-rw-r--r--print/ghostscript7/files/patch-src-zstack.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-zstack.c b/print/ghostscript7/files/patch-src-zstack.c
new file mode 100644
index 000000000000..f1359936e410
--- /dev/null
+++ b/print/ghostscript7/files/patch-src-zstack.c
@@ -0,0 +1,11 @@
+--- src/zstack.c.orig 2013-04-30 10:54:14.000000000 +0900
++++ src/zstack.c 2013-04-30 10:54:26.000000000 +0900
+@@ -70,7 +70,7 @@
+ register os_ptr opn;
+
+ check_type(*op, t_integer);
+- if ((ulong)op->value.intval >= op - osbot) {
++ if ((uint)op->value.intval >= op - osbot) {
+ /* Might be in an older stack block. */
+ ref *elt;
+