Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cast max depth value to ensure format specifier is correct both on iO…

…S and OSX
  • Loading branch information...
commit 5de13581d93c67fd3a7ab44811ba93ef0110cd2f 1 parent da1485f
Stig Brautaset authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/SBJsonStreamParser.m
2  Classes/SBJsonStreamParser.m
View
@@ -112,7 +112,7 @@ - (NSString*)tokenName:(sbjson_token_t)token {
}
- (void)maxDepthError {
- self.error = [NSString stringWithFormat:@"Input depth exceeds max depth of %u", maxDepth];
+ self.error = [NSString stringWithFormat:@"Input depth exceeds max depth of %lu", (unsigned long)maxDepth];
self.state = [SBJsonStreamParserStateError sharedInstance];
}
Please sign in to comment.
Something went wrong with that request. Please try again.