[babl] babl-palette: fix default-palette radii array size



commit 24d7ba9071ee1e03a12c79c6d724cdc2980dc41e
Author: Ell <ell_se yahoo com>
Date:   Fri May 25 08:52:47 2018 -0400

    babl-palette: fix default-palette radii array size

 babl/babl-palette.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/babl/babl-palette.c b/babl/babl-palette.c
index 6ee7c7d..5b19c0a 100644
--- a/babl/babl-palette.c
+++ b/babl/babl-palette.c
@@ -75,7 +75,7 @@ static unsigned char defpal_data[4*16] =
 255,255,255,255,
 };
 static double defpal_double[4*8*16];
-static BablPaletteRadius defpal_radii[sizeof (BablPaletteRadius) * 15 * 16];
+static BablPaletteRadius defpal_radii[15 * 16];
 
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]