summaryrefslogtreecommitdiff
path: root/print/ghostscript7-x11/files/patch-src_zstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7-x11/files/patch-src_zstack.c')
-rw-r--r--print/ghostscript7-x11/files/patch-src_zstack.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7-x11/files/patch-src_zstack.c b/print/ghostscript7-x11/files/patch-src_zstack.c
new file mode 100644
index 000000000000..3959aac5d4ae
--- /dev/null
+++ b/print/ghostscript7-x11/files/patch-src_zstack.c
@@ -0,0 +1,11 @@
+--- src/zstack.c.orig 2003-01-17 00:49:06 UTC
++++ src/zstack.c
+@@ -70,7 +70,7 @@ zindex(i_ctx_t *i_ctx_p)
+ 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;
+