Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cocos2d-ui/CCBReader/CCBReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static inline unsigned int readVariableLengthIntFromArray(const uint8_t* buffer,

done:
*value = result;
return ptr - buffer;
return (unsigned int) (ptr - buffer);
}


Expand Down
3 changes: 2 additions & 1 deletion external/ObjectAL/Actions/OALUtilityActions.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ - (void) prepareWithTarget:(id) target
if(0 == duration_)
{
// Easy case: 0 duration.
for(OALAction* action in actions_)
NSUInteger actionsCount = [actions_ count];
for (NSUInteger loop = 0 ; loop < actionsCount ; ++loop)
{
[pDurations_ addObject:[NSNumber numberWithFloat:0]];
}
Expand Down