Fixed build warnings on MSVC14 x64 in the MD3 and MD5 format sources.

This commit is contained in:
Jared Mulconry
2016-11-20 02:40:18 +11:00
parent 60cd4605eb
commit 923b014472
2 changed files with 6 additions and 6 deletions

View File

@@ -709,7 +709,7 @@ void MD3Importer::ConvertPath(const char* texture_name, const char* header_name,
}
}
else len2 = std::min (len1, (size_t)(end2 - texture_name ));
if (!ASSIMP_strincmp(texture_name,header_name,len2)) {
if (!ASSIMP_strincmp(texture_name,header_name,static_cast<unsigned int>(len2))) {
// Use the file name only
out = end2+1;
return;