Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning: suggest parentheses around comparison in operand of ‘!=’
spine-c/spine-c/src/spine/Bone.c: In function ‘spBone_updateWorldTransformWith’: spine-c/spine-c/src/spine/Bone.c:169:64: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses] 169 | (pa * pd - pb * pc < 0) != (sx < 0 != sy < 0)) | ~~~^~~ spine-c/spine-c/src/spine/Bone.c: In function ‘spBone_updateAppliedTransform’: spine-c/spine-c/src/spine/Bone.c:284:76: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses] 284 | pid < 0 != (self->skeleton->scaleX < 0 != (self->skeleton->scaleY * yDownScale) < 0)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ spine-c/spine-c/src/spine/Bone.c:284:45: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses] 284 | pid < 0 != (self->skeleton->scaleX < 0 != (self->skeleton->scaleY * yDownScale) < 0)) | ~~~~^~~
- Loading branch information