From d0edb942087795887e347a60755f1ef8e9be95f7 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 20 Mar 2018 20:38:03 +0100 Subject: [PATCH] Update D3MFImporter.cpp Use static cast instead of c-cast. --- code/D3MFImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/D3MFImporter.cpp b/code/D3MFImporter.cpp index 535652502..c46685b45 100644 --- a/code/D3MFImporter.cpp +++ b/code/D3MFImporter.cpp @@ -282,7 +282,7 @@ private: MatIdArray = it->second; } } - MatIdArray.push_back( (unsigned int)newMatIdx ); + MatIdArray.push_back( static_cast( newMatIdx ) ); mMatId2MatArray[ mActiveMatGroup ] = MatIdArray; }