Showing
1 changed file
with
3 additions
and
3 deletions
@@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
89 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; | 89 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; |
90 | STAssertNotNil(markerImage, @"testMarkerCreation marker image did not load"); | 90 | STAssertNotNil(markerImage, @"testMarkerCreation marker image did not load"); |
91 | markerPosition.latitude = initialCenter.latitude - ((nRows - 1)/2.0 * columnSpacing); | 91 | markerPosition.latitude = initialCenter.latitude - ((nRows - 1)/2.0 * columnSpacing); |
92 | - int i, j; | 92 | + NSUInteger i, j; |
93 | for (i = 0; i < nRows; i++) { | 93 | for (i = 0; i < nRows; i++) { |
94 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); | 94 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); |
95 | for (j = 0; j < nColumns; j++) { | 95 | for (j = 0; j < nColumns; j++) { |
@@ -129,7 +129,7 @@ | @@ -129,7 +129,7 @@ | ||
129 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; | 129 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; |
130 | markerPosition.latitude = initialCenter.latitude; | 130 | markerPosition.latitude = initialCenter.latitude; |
131 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); | 131 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); |
132 | - int j; | 132 | + NSUInteger j; |
133 | NSMutableArray *testMarkers = [NSMutableArray arrayWithCapacity:nColumns]; | 133 | NSMutableArray *testMarkers = [NSMutableArray arrayWithCapacity:nColumns]; |
134 | for (j = 0; j < nColumns; j++) { | 134 | for (j = 0; j < nColumns; j++) { |
135 | markerPosition.longitude += columnSpacing; | 135 | markerPosition.longitude += columnSpacing; |
@@ -180,7 +180,7 @@ | @@ -180,7 +180,7 @@ | ||
180 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; | 180 | UIImage *markerImage = [UIImage imageNamed:@"marker-red.png"]; |
181 | markerPosition.latitude = initialCenter.latitude; | 181 | markerPosition.latitude = initialCenter.latitude; |
182 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); | 182 | markerPosition.longitude = initialCenter.longitude - ((nColumns - 1)/2.0 * columnSpacing); |
183 | - int j; | 183 | + NSUInteger j; |
184 | NSMutableArray *testMarkers = [NSMutableArray arrayWithCapacity:nColumns]; | 184 | NSMutableArray *testMarkers = [NSMutableArray arrayWithCapacity:nColumns]; |
185 | for (j = 0; j < nColumns; j++) { | 185 | for (j = 0; j < nColumns; j++) { |
186 | markerPosition.longitude += columnSpacing; | 186 | markerPosition.longitude += columnSpacing; |
-
Please register or login to post a comment