project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 6908 896ed2afcfb8
parent 6869 a187c280dd3d
child 7048 0a4c88935902
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Sun Apr 22 03:59:24 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Sun Apr 22 04:48:11 2012 +0200
@@ -159,7 +159,7 @@
     }
 
     // play if there aren't too many teams
-    if ([self.teamConfigViewController.listOfSelectedTeams count] > HW_getMaxNumberOfTeams()) {
+    if ((int)[self.teamConfigViewController.listOfSelectedTeams count] > HW_getMaxNumberOfTeams()) {
         UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Too many teams",@"")
                                                         message:NSLocalizedString(@"You exceeded the maximum number of tems allowed in a game",@"")
                                                        delegate:nil