From 8ae8b165ca3da1a380a0493855d14ff1b226b40b Mon Sep 17 00:00:00 2001 From: Gargaj Date: Mon, 8 Feb 2021 00:37:06 +0100 Subject: [PATCH] fix compile warning-turned-error on x86 --- code/AssetLib/Collada/ColladaLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/Collada/ColladaLoader.cpp b/code/AssetLib/Collada/ColladaLoader.cpp index 13cf0a9d4..939f72c9c 100644 --- a/code/AssetLib/Collada/ColladaLoader.cpp +++ b/code/AssetLib/Collada/ColladaLoader.cpp @@ -982,7 +982,7 @@ void ColladaLoader::StoreAnimations(aiScene *pScene, const ColladaParser &pParse animTargets.insert(templateAnim->mChannels[0]->mNodeName.C_Str()); bool collectedAnimationsHaveDifferentChannels = true; for (unsigned long long collectedAnimIndice : collectedAnimIndices) { - aiAnimation *srcAnimation = mAnims[collectedAnimIndice]; + aiAnimation *srcAnimation = mAnims[(int)collectedAnimIndice]; std::string channelName = std::string(srcAnimation->mChannels[0]->mNodeName.C_Str()); if (animTargets.find(channelName) == animTargets.end()) { animTargets.insert(channelName);