Merge pull request #779 from turol/master

SIBImporter: Properly fix C++11 issues for Clang
pull/783/head
Kim Kulling 2016-02-02 20:40:52 +01:00
commit aef69ffe91
1 changed files with 4 additions and 4 deletions

View File

@ -164,10 +164,10 @@ static aiColor3D ReadColor(StreamReaderLE* stream)
static void UnknownChunk(StreamReaderLE* stream, const SIBChunk& chunk)
{
char temp[5] = {
( char ) ( chunk.Tag>>24 ) & 0xff,
( char ) ( chunk.Tag>>16 ) & 0xff,
( char ) ( chunk.Tag>>8 ) & 0xff,
( char ) chunk.Tag & 0xff, '\0'
static_cast<char>(( chunk.Tag>>24 ) & 0xff),
static_cast<char>(( chunk.Tag>>16 ) & 0xff),
static_cast<char>(( chunk.Tag>>8 ) & 0xff),
static_cast<char>(chunk.Tag & 0xff), '\0'
};
DefaultLogger::get()->warn((Formatter::format(), "SIB: Skipping unknown '",temp,"' chunk."));