Include patch

This commit is contained in:
Tim Waugh 2007-01-18 13:22:03 +00:00
parent 07ece8cc04
commit b7c1eb3c1e

View File

@ -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",