map.c
changeset 2024 bf9efcb99c6f
parent 1981 de031d2aed47
child 2043 20323c1fdb81
--- a/map.c	Fri Jul 08 19:02:26 2005 +0000
+++ b/map.c	Fri Jul 08 19:46:41 2005 +0000
@@ -39,7 +39,7 @@
 	_map3_hi   = realloc(_map3_hi,   map_size * sizeof(_map3_hi[0]));
 	_map5      = realloc(_map5,      map_size * sizeof(_map5[0]));
 	_map_extra_bits =
-		realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0] / 4));
+		realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0]) / 4);
 
 	// XXX TODO handle memory shortage more gracefully
 	if (_map_type_and_height == NULL ||