소스 검색

[c] Fixes compilation in VS201x

badlogic 9 년 전
부모
커밋
69889d8a07
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      spine-c/src/spine/Skeleton.c

+ 2 - 1
spine-c/src/spine/Skeleton.c

@@ -188,7 +188,8 @@ static void _sortPathConstraintAttachmentBones(_spSkeleton* const internal, spAt
 		int i = 0;
 		while (i < pathBonesCount) {
 			int boneCount = pathBones[i++];
-			for (int n = i + boneCount; i < n; i++)
+			int n;
+			for (n = i + boneCount; i < n; i++)
 				_sortBone(internal, bones[pathBones[i]]);
 		}
 	}