File oyranos-0.1.9-Image-memfix.patch of Package oyranos

diff -u oyranos-0.1.9_orig/oyranos_alpha.c oyranos-0.1.9/oyranos_alpha.c
--- oyranos-0.1.9_orig/oyranos_alpha.c	2008-12-10 14:47:12.000000000 +0100
+++ oyranos-0.1.9/oyranos_alpha.c	2008-12-23 14:38:47.000000000 +0100
@@ -10297,7 +10297,7 @@
   /* describe the pixel layout and access */
   if(!error)
   {
-    error = !memset( mask, 0, sizeof(mask) * sizeof(oyPixel_t*));
+    error = !memset( mask, 0, sizeof(mask) * sizeof(int));
     if(oyToPlanar_m( pixel_layout ))
     {
       mask[oyPOFF_X] = 1;
openSUSE Build Service is sponsored by