From be768bdc2eb49e01ee2b3eb2c25c7af151352e91 Mon Sep 17 00:00:00 2001 From: rude Date: Sat, 10 Oct 2009 14:55:25 +0200 Subject: [PATCH] Fixed gcc error. (Invalid cast in const expression). --- src/common/StringMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/StringMap.h b/src/common/StringMap.h index 6b2b1c70f..01e7f34d9 100644 --- a/src/common/StringMap.h +++ b/src/common/StringMap.h @@ -38,7 +38,7 @@ namespace love Record() : set(false) {} }; - const static unsigned MAX = (unsigned)((float)SIZE * 1.5f); + const static unsigned MAX = SIZE*2; Record records[MAX]; const char * reverse[SIZE];