Fixed build warnings on MSVC14 x64 in the Collada parser.

pull/1083/head
Jared Mulconry 2016-11-19 02:42:51 +11:00
parent 2866da1262
commit 3b63e4af54
1 changed files with 1 additions and 1 deletions

View File

@ -2535,7 +2535,7 @@ void ColladaParser::ExtractDataObjectFromChannel( const InputChannel& pInput, si
aiColor4D result(0, 0, 0, 1);
for (size_t i = 0; i < pInput.mResolved->mSize; ++i)
{
result[i] = obj[pInput.mResolved->mSubOffset[i]];
result[static_cast<unsigned int>(i)] = obj[pInput.mResolved->mSubOffset[i]];
}
pMesh->mColors[pInput.mIndex].push_back(result);
} else