cocos2dx/platform/ios/EAGLView.mm:403:18: Cast from pointer to smaller type 'int' loses information
When updated your xCode then cocos2dx gives error like
"Cast from pointer to smaller type 'int' loses information" in EAGLView.mm
Resolve that issue -->
Replace this
When updated your xCode then cocos2dx gives error like
"Cast from pointer to smaller type 'int' loses information" in EAGLView.mm
Resolve that issue -->
Replace this
ids[i] = (int)touch;
with ids[i] = *(int *)touch;
No comments:
Post a Comment