fix compiler warnings.

This commit is contained in:
Kim Kulling
2019-09-22 10:15:44 +02:00
parent ef54a00fc4
commit 94c488d7ea
3 changed files with 8 additions and 8 deletions

View File

@@ -344,7 +344,7 @@ void MD2Importer::InternReadFile( const std::string& pFile,
if (pcSkins->name[0])
{
aiString szString;
const size_t iLen = ::strlen(pcSkins->name);
const ai_uint32 iLen = (ai_uint32) ::strlen(pcSkins->name);
::memcpy(szString.data,pcSkins->name,iLen);
szString.data[iLen] = '\0';
szString.length = iLen;