Fixed: Compilation with clang

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-11 19:26:23 +01:00
parent c94ce037bb
commit b766a01c8a

View file

@ -164,7 +164,9 @@ void readFormId( string& outputFileName )
map<string,uint8>::iterator itFT = FileTypeToId.find(fileType);
if( itFT == FileTypeToId.end() )
{
FileTypeToId.insert( std::pair<std::string, uint8>(fileType,fid.FormIDInfos.Type) );
uint8 type = (uint8)fid.FormIDInfos.Type;
FileTypeToId.insert( std::pair<std::string, uint8>(fileType, type) );
}
}
else