--- veejay/effects/dices.c.old	2004-11-17 15:26:52.146467784 +0100
+++ veejay/effects/dices.c	2004-11-17 15:27:56.059751488 +0100
@@ -90,7 +90,7 @@
 void dice_create_map(int w, int h)
 {
     int k,x, y, i = 0;
-    const int maplen = (w * h);
+    int maplen = (w * h);
     g_map_height = h >> g_cube_bits;
     g_map_width = w >> g_cube_bits;
     g_cube_size = 1 << g_cube_bits;
