Skip to content

Commit

Permalink
fixes clang llvm 2.1 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
steipete committed May 27, 2011
1 parent 78da7c0 commit 5d68066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OHAttributedLabel.m
Expand Up @@ -245,10 +245,10 @@ -(NSTextCheckingResult*)linkAtCharacterIndex:(CFIndex)idx {
if (foundResult) return foundResult;
}

[customLinks enumerateObjectsUsingBlock:^(id obj, NSUInteger i, BOOL *stop)
[customLinks enumerateObjectsUsingBlock:^(id obj, NSUInteger aidx, BOOL *stop)
{
NSRange r = [(NSTextCheckingResult*)obj range];
if (NSLocationInRange(idx, r)) {
if (NSLocationInRange(aidx, r)) {
foundResult = [[obj retain] autorelease];
*stop = YES;
}
Expand Down

0 comments on commit 5d68066

Please sign in to comment.