Important thing:
My fix was related to this: https://github.com/cocos2d/cocos2d-x/blob/develop/docs/CODING_STYLE.md#on-unsigned-integers

But migrating all `int` to `long` seems reasonable. But before doing that, we should read this: https://github.com/cocos2d/cocos2d-x/blob/develop/docs/CODING_STYLE.md#integer-types 

Probably we need to do more research before migrating everything `int` to `long`.
For the moment we should migrate `int` to `long` when the compiler complains.