diff --git a/Core/Source/DTHTMLParser/DTHTMLParser.m b/Core/Source/DTHTMLParser/DTHTMLParser.m index a0a0b730..e299fa33 100644 --- a/Core/Source/DTHTMLParser/DTHTMLParser.m +++ b/Core/Source/DTHTMLParser/DTHTMLParser.m @@ -331,7 +331,7 @@ - (void)abortParsing return _delegate; } -- (void)setDelegate:(id )delegate; +- (void)setDelegate:(id )delegate { _delegate = delegate; diff --git a/Core/Source/DTVersion.m b/Core/Source/DTVersion.m index 2927a879..9d63c76b 100644 --- a/Core/Source/DTVersion.m +++ b/Core/Source/DTVersion.m @@ -60,7 +60,7 @@ + (DTVersion *)versionWithString:(NSString*)versionString { return nil; } - for (int i = 1; i < match.numberOfRanges; i++) + for (NSUInteger i = 1; i < match.numberOfRanges; i++) { NSRange range = [match rangeAtIndex:i]; if (range.location == NSNotFound) diff --git a/Core/Source/NSString+DTFormatNumbers.m b/Core/Source/NSString+DTFormatNumbers.m index 3b7e9096..2ad6775c 100644 --- a/Core/Source/NSString+DTFormatNumbers.m +++ b/Core/Source/NSString+DTFormatNumbers.m @@ -15,7 +15,7 @@ + (NSString *)stringByFormattingBytes:(long long)bytes NSArray *units = [NSArray arrayWithObjects:@"%1.0f Bytes", @"%1.1f KB", @"%1.1f MB", @"%1.1f GB", @"%1.1f TB", nil]; long long value = bytes * 10; - for (int i=0; i<[units count]; i++) + for (NSUInteger i=0; i<[units count]; i++) { if (i > 0) {