Browse Source

Update D3MFImporter.cpp

Use static cast instead of c-cast.
Kim Kulling 7 years ago
parent
commit
d0edb94208
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/D3MFImporter.cpp

+ 1 - 1
code/D3MFImporter.cpp

@@ -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;
         }