Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LearnCocos2D committed Apr 28, 2014
1 parent 3931222 commit 7e42611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CCBReader/CCBReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static inline float readFloat(CCBReader *self)
- (NSString*) readCachedString
{
int n = readIntWithSign(self, NO);
NSAssert(n < stringCache.count, @"string cache index (%u) out of bounds (%u)", (unsigned)n, (unsigned)stringCache.count);
NSAssert((unsigned)n < stringCache.count, @"string cache index (%u) out of bounds (%u)", (unsigned)n, (unsigned)stringCache.count);
return [stringCache objectAtIndex:n];
}

Expand Down

0 comments on commit 7e42611

Please sign in to comment.