aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation/GTMRegex.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMRegex.m b/Foundation/GTMRegex.m
index 3d6f96f..c62d140 100644
--- a/Foundation/GTMRegex.m
+++ b/Foundation/GTMRegex.m
@@ -659,7 +659,7 @@ static NSString *const kReplacementPattern =
[self class], self,
regex_,
(allSegments_ ? "YES" : "NO"),
- (int)(MIN(len, 20)), [utf8StrBuf_ bytes],
+ (int)(MIN(len, 20)), (const char *)[utf8StrBuf_ bytes],
(len > 20 ? "..." : "")];
}