Fix type comparison warnings

This commit is contained in:
Lukas Spieß
2015-10-23 09:58:21 +02:00
parent b102fa3988
commit 7a72c3a2dc
4 changed files with 5 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ typedef NS_ENUM(NSInteger, BITImageAnnotationViewControllerInteractionMode) {
BITImageAnnotation *candidate = nil;
BOOL validView = YES;
for ( int i = 0; i<gestureRecognizer.numberOfTouches; i++){
for (uint i = 0; i < gestureRecognizer.numberOfTouches; i++){
BITImageAnnotation *newCandidate = (BITImageAnnotation *)[self.view hitTest:[gestureRecognizer locationOfTouch:i inView:self.view] withEvent:nil];
if (![newCandidate isKindOfClass:[BITImageAnnotation class]]){