project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m
branchios-revival
changeset 11148 064a53861759
parent 11116 102684240fe8
child 11218 d8135421833c
--- a/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m	Thu Sep 10 01:31:52 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m	Thu Sep 10 01:49:15 2015 +0200
@@ -198,8 +198,8 @@
 #pragma mark -
 #pragma mark Table view delegate
 -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
-    int newRow = [indexPath row];
-    int oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1;
+    NSInteger newRow = [indexPath row];
+    NSInteger oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1;
     UIViewController *nextController = nil;
 
     if (newRow != oldRow) {