Skip to content

Commit

Permalink
Address compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wezm committed Jun 27, 2013
1 parent 5321fc6 commit 2f773c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MustacheParser.m.rl
Expand Up @@ -189,7 +189,7 @@

- (void)setErrorAtIndex:(NSUInteger)index
{
NSString *localizedDescription = [NSString stringWithFormat:@"Error at character %ld", index];
NSString *localizedDescription = [NSString stringWithFormat:@"Error at character %ld", (unsigned long)index];
NSDictionary *userInfo = [NSDictionary dictionaryWithObject:localizedDescription forKey:NSLocalizedDescriptionKey];
[self setError:[NSError errorWithDomain:@"MustacheParserErrorDomain" code:1 userInfo:userInfo]];
}
Expand Down

0 comments on commit 2f773c4

Please sign in to comment.