Update D3MFImporter.cpp

Use static cast instead of c-cast.
pull/1841/head
Kim Kulling 2018-03-20 20:38:03 +01:00 committed by GitHub
parent f898f40486
commit d0edb94208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ private:
MatIdArray = it->second;
}
}
MatIdArray.push_back( (unsigned int)newMatIdx );
MatIdArray.push_back( static_cast<unsigned int>( newMatIdx ) );
mMatId2MatArray[ mActiveMatGroup ] = MatIdArray;
}