浏览代码

Update D3MFImporter.cpp

Use static cast instead of c-cast.
Kim Kulling 7 年之前
父节点
当前提交
d0edb94208
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
         }