project_files/HedgewarsMobile/Classes/HogHatViewController.m
branchios-revival
changeset 11148 064a53861759
parent 10108 c68cf030eded
child 11186 55f20efae2e4
--- a/project_files/HedgewarsMobile/Classes/HogHatViewController.m	Thu Sep 10 01:31:52 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/HogHatViewController.m	Thu Sep 10 01:49:15 2015 +0200
@@ -101,8 +101,8 @@
 #pragma mark -
 #pragma mark Table view delegate
 -(void) tableView:(UITableView *)aTableView 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;
 
     if (newRow != oldRow) {
         // if the two selected rows differ update data on the hog dictionary and reload table content