diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-06-21 21:30:11 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-06-21 21:30:11 +0000 |
commit | 7247d5e2ea3e43a48c1f85bf263c5237d459641a (patch) | |
tree | be744b82ab288a21decc4a31a5adc8db001d85d9 /Foundation/GTMRegex.m | |
parent | b962a2ca36c7efbb9ae89330041a3edcd12e7704 (diff) |
[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)
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) { |