Browse Source

Fixed gcc error. (Invalid cast in const expression).

rude 16 years ago
parent
commit
be768bdc2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/StringMap.h

+ 1 - 1
src/common/StringMap.h

@@ -38,7 +38,7 @@ namespace love
 			Record() : set(false) {}
 			Record() : set(false) {}
 		};
 		};
 
 
-		const static unsigned MAX = (unsigned)((float)SIZE * 1.5f);
+		const static unsigned MAX = SIZE*2;
 
 
 		Record records[MAX];
 		Record records[MAX];
 		const char * reverse[SIZE];
 		const char * reverse[SIZE];