# bugfix Importer::GetImporterIndex

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1236 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
aramis_acg 2012-04-22 22:59:15 +00:00
parent 68d2b71893
commit 078c1cd621
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ size_t Importer::GetImporterIndex (const char* szExtension) const
std::string ext(szExtension); std::string ext(szExtension);
if (ext.empty()) { if (ext.empty()) {
return NULL; return static_cast<size_t>(-1);
} }
std::transform(ext.begin(),ext.end(), ext.begin(), tolower); std::transform(ext.begin(),ext.end(), ext.begin(), tolower);