diff --git a/ghostscript-gxcht-64bit-crash.patch b/ghostscript-gxcht-64bit-crash.patch new file mode 100644 index 0000000..33e6da9 --- /dev/null +++ b/ghostscript-gxcht-64bit-crash.patch @@ -0,0 +1,11 @@ +--- espgs-8.15.3/src/gxcht.c.gxcht-64bit-crash 2007-01-18 12:29:20.000000000 +0000 ++++ espgs-8.15.3/src/gxcht.c 2007-01-18 12:29:36.000000000 +0000 +@@ -1095,7 +1095,7 @@ + ptc->xbits = ((tw - 1) & 7) + 1; + ptc->tdata = btile->data; + ptc->raster = btile->raster; +- ptc->row = ptc->tdata + by * ptc->raster; ++ ptc->row = ptc->tdata + by * (int)ptc->raster; + ptc->data = ptc->row + ptc->xoffset; + ptc->bit_shift = ptc->xshift; + if_debug6('h', "[h]plane %d: size=%d,%d shift=%d bx=%d by=%d\n",