Browse Source

kleine nderung, ein cast von float nach sint16

damit die warnung verschwindet
seba 12 years ago
parent
commit
f0fb315b19
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      glmenu/menumenu.cpp

+ 1
- 1
glmenu/menumenu.cpp View File

@@ -131,7 +131,7 @@ void MenuMenu::render() {
131 131
 			bgarea.x = (int)pos.x-clen/2;
132 132
 			bgarea.w = clen;
133 133
 		}
134
-		bgarea.x = pos.x-maxlen/2;
134
+		bgarea.x = (Sint16)pos.x-maxlen/2;
135 135
 		bgarea.w = maxlen;
136 136
 		
137 137
 		//offset

Loading…
Cancel
Save