- fixed a warning
authorRyan Flegel <rflegel@gmail.com>
Thu, 13 May 2004 02:50:13 +0000 (02:50 +0000)
committerRyan Flegel <rflegel@gmail.com>
Thu, 13 May 2004 02:50:13 +0000 (02:50 +0000)
SVN-Revision: 1151

src/menu.cpp

index 5b567c5..b462e12 100644 (file)
@@ -481,7 +481,7 @@ Menu::action()
 
   menuaction = MENU_ACTION_NONE;
 
-  if (active_item >= item.size()) 
+  if (active_item >= int(item.size()))
     active_item = int(item.size()) - 1;
 }