--- ./addons/gdevlx32.c.orig	2005-01-21 16:33:58.501784080 +0100
+++ ./addons/gdevlx32.c	2005-01-21 16:40:01.339624344 +0100
@@ -422,12 +422,14 @@
  * of the nearest color.
  */
 private gx_color_index
-lxm3200_map_rgb_color(gx_device *dev,	gx_color_value r, 
-											gx_color_value g, gx_color_value b)
+lxm3200_map_rgb_color(gx_device *dev, const gx_color_value cv[])
 {
 	gx_color_index col;
+	gx_color_value r, g, b;
 	int c, m, y;
-
+	gx_color_value tmpcv[3];
+	
+	r = cv[0]; g = cv[1]; b = cv[2];
 	/* In case R, G and B values are equal, ghostscript
 	 * prescribes that the color value must be turned 
 	 * into a gray shade. In our case this means either
@@ -479,7 +481,8 @@
 			break;
 
 		default:
-			col = gdev_prn_map_rgb_color(dev, r, g, b);
+		        tmpcv[0] = r; tmpcv[1] = g; tmpcv[2] = b;
+			col = gdev_prn_map_rgb_color(dev, tmpcv);
 			break;
 	}
 
