--- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Sun Apr 22 03:59:24 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Sun Apr 22 04:48:11 2012 +0200
@@ -89,7 +89,7 @@
NSMutableArray *filteredArray = [[NSMutableArray alloc] initWithCapacity:[descArray count]/3];
[descComplete release];
// sanity check to avoid having missions and descriptions conflicts
- for (int i = 0; i < [self.listOfMissions count]; i++) {
+ for (NSUInteger i = 0; i < [self.listOfMissions count]; i++) {
NSString *desc = [[self.listOfMissions objectAtIndex:i] stringByDeletingPathExtension];
for (NSString *str in descArray)
if ([str hasPrefix:desc] && [str hasSuffix:@"\""]) {