summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-src:gdevccr.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:gdevccr.c')
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevccr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gdevccr.c b/print/ghostscript-gpl/files/patch-src:gdevccr.c
new file mode 100644
index 000000000000..56bb760b8ac8
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-src:gdevccr.c
@@ -0,0 +1,15 @@
+--- src/gdevccr.c.orig Fri Feb 22 07:24:51 2002
++++ src/gdevccr.c Sun Nov 10 22:38:51 2002
+@@ -112,8 +112,11 @@
+ /* ------ Color mapping routines ------ */
+ /* map an rgb color to a ccr cmy bitmap */
+ private gx_color_index
+-ccr_map_rgb_color(gx_device *pdev, ushort r, ushort g, ushort b)
++ccr_map_rgb_color(gx_device *pdev, const ushort cv[])
+ {
++ ushort r = cv[0];
++ ushort g = cv[1];
++ ushort b = cv[2];
+ register int shift = gx_color_value_bits - 1;
+ r>>=shift;
+ g>>=shift;