diff options
Diffstat (limited to 'print/ghostscript7/files/patch-src-gxclrast.c')
-rw-r--r-- | print/ghostscript7/files/patch-src-gxclrast.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-gxclrast.c b/print/ghostscript7/files/patch-src-gxclrast.c new file mode 100644 index 000000000000..59d5053ad305 --- /dev/null +++ b/print/ghostscript7/files/patch-src-gxclrast.c @@ -0,0 +1,15 @@ +--- src/gxclrast.c.orig 2013-04-30 09:13:13.000000000 +0900 ++++ src/gxclrast.c 2013-04-30 09:13:41.000000000 +0900 +@@ -87,10 +87,10 @@ + private long + cmd_get_w(const byte * p, const byte ** rp) + { +- long val = *p++ & 0x7f; ++ int val = *p++ & 0x7f; + int shift = 7; + +- for (; val += (long)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); ++ for (; val += (int)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); + *rp = p; + return val; + } |