diff options
Diffstat (limited to 'Foundation/GTMRegex.m')
-rw-r--r-- | Foundation/GTMRegex.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMRegex.m b/Foundation/GTMRegex.m index f4d6362..d0b831c 100644 --- a/Foundation/GTMRegex.m +++ b/Foundation/GTMRegex.m @@ -719,7 +719,7 @@ static NSString *const kReplacementPattern = [NSMutableString stringWithFormat:@"%@<%p> { isMatch=\"%s\", subPatterns=(", [self class], self, (isMatch_ ? "YES" : "NO")]; for (NSUInteger x = 0; x <= numRegMatches_; ++x) { - NSInteger length = (NSInteger)(regMatches_[x].rm_eo - regMatches_[x].rm_so); + int length = (int)(regMatches_[x].rm_eo - regMatches_[x].rm_so); const char* string = (((const char*)[utf8StrBuf_ bytes]) + regMatches_[x].rm_so); if (x == 0) { |