[gs-cvs] rev 8822 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Sat Jul 5 17:45:20 PDT 2008


Author: ray
Date: 2008-07-05 17:45:19 -0700 (Sat, 05 Jul 2008)
New Revision: 8822

Modified:
   trunk/gs/src/gdevwts.c
Log:
Fix address/value problem. How this ever seemed to work, who knows.
Thanks to Matthias Kilian for this patch.


Modified: trunk/gs/src/gdevwts.c
===================================================================
--- trunk/gs/src/gdevwts.c	2008-07-04 22:32:45 UTC (rev 8821)
+++ trunk/gs/src/gdevwts.c	2008-07-06 00:45:19 UTC (rev 8822)
@@ -935,7 +935,7 @@
 		r_last = r, g_last = g, b_last = b;
 		wtsimdi_resolve_one(idev, color);
 	    }
-	    *cmyk_data++ = (uint32_t)idev->current_color.cmyk;
+	    *cmyk_data++ = *((uint32_t *)idev->current_color.cmyk);
 	}
 	wts_halftone_line_8(idev->wcooked, original_y, width, n_planes,
 			    idev->band_offset_x, idev->band_offset_y,  buffer, (const byte *)cmyk_buffer);



More information about the gs-cvs mailing list