Skip to content

Commit 78746d5

Browse files
committed
Fixing an old warning.
1 parent 1be9cc6 commit 78746d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d-ui/CCBReader/CCBReader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static inline void alignBits(CCBReader *self)
159159
}
160160

161161

162-
static inline unsigned int readVariableLengthIntFromArray(const uint8_t* buffer, uint32_t * value) {
162+
static inline ptrdiff_t readVariableLengthIntFromArray(const uint8_t* buffer, uint32_t * value) {
163163
const uint8_t* ptr = buffer;
164164
uint32_t b;
165165
uint32_t result;

0 commit comments

Comments
 (0)