Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -139,7 +139,7 @@ | @@ -139,7 +139,7 @@ | ||
| 139 | UITouch *touch = [touches anyObject]; | 139 | UITouch *touch = [touches anyObject]; |
| 140 | CGPoint touchPoint = [touch locationInView:self]; | 140 | CGPoint touchPoint = [touch locationInView:self]; |
| 141 | 141 | ||
| 142 | - for (int p = _pathPoints.count - 1; p >= 0; p--) { | 142 | + for (NSInteger p = _pathPoints.count - 1; p >= 0; p--) { |
| 143 | NSArray *linePointsArray = _pathPoints[p]; | 143 | NSArray *linePointsArray = _pathPoints[p]; |
| 144 | 144 | ||
| 145 | for (int i = 0; i < linePointsArray.count - 1; i += 1) { | 145 | for (int i = 0; i < linePointsArray.count - 1; i += 1) { |
| @@ -172,7 +172,7 @@ | @@ -172,7 +172,7 @@ | ||
| 172 | UITouch *touch = [touches anyObject]; | 172 | UITouch *touch = [touches anyObject]; |
| 173 | CGPoint touchPoint = [touch locationInView:self]; | 173 | CGPoint touchPoint = [touch locationInView:self]; |
| 174 | 174 | ||
| 175 | - for (int p = _pathPoints.count - 1; p >= 0; p--) { | 175 | + for (NSInteger p = _pathPoints.count - 1; p >= 0; p--) { |
| 176 | NSArray *linePointsArray = _pathPoints[p]; | 176 | NSArray *linePointsArray = _pathPoints[p]; |
| 177 | 177 | ||
| 178 | for (int i = 0; i < linePointsArray.count - 1; i += 1) { | 178 | for (int i = 0; i < linePointsArray.count - 1; i += 1) { |
-
Please register or login to post a comment