From f0fb315b19c8b85d8e8b57ae9374ab2fd56c8441 Mon Sep 17 00:00:00 2001 From: seba Date: Sat, 5 Apr 2008 02:58:11 +0200 Subject: [PATCH] =?UTF-8?q?kleine=20=E4nderung,=20ein=20cast=20von=20float?= =?UTF-8?q?=20nach=20sint16=20damit=20die=20warnung=20verschwindet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glmenu/menumenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glmenu/menumenu.cpp b/glmenu/menumenu.cpp index 8144ca1..415f9e8 100644 --- a/glmenu/menumenu.cpp +++ b/glmenu/menumenu.cpp @@ -131,7 +131,7 @@ void MenuMenu::render() { bgarea.x = (int)pos.x-clen/2; bgarea.w = clen; } - bgarea.x = pos.x-maxlen/2; + bgarea.x = (Sint16)pos.x-maxlen/2; bgarea.w = maxlen; //offset