From 7247d5e2ea3e43a48c1f85bf263c5237d459641a Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Thu, 21 Jun 2012 21:30:11 +0000 Subject: [Author: dmaclach] Clean up some basic issues in GTM. Also removes GTMUniqueFileObjectPathBasedOn which depended on mktemp which is bad. R=thomasvl DELTA=55 (6 added, 32 deleted, 17 changed) --- Foundation/GTMRegex.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Foundation/GTMRegex.m') 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) { -- cgit v1.2.3