File bombermaze-array_new.diff of Package bombermaze

--- src/map.cc
+++ src/map.cc
@@ -1587,7 +1587,7 @@
   width = w;
   height = h;
 
-  map = new (char *)[width];
+  map = new char *[width];
 
   unsigned i;
   for (i = 0; i < width; i++)
@@ -1728,7 +1728,7 @@
 
 void GameMap::allocate_map(MapSquare ***m)
 {
-  *m = new (MapSquare *)[width];
+  *m = new MapSquare *[width];
   int i;
   for (i = 0; i < width; i++)
   {
openSUSE Build Service is sponsored by