diff --git a/src/libs/ifc/xml/vpatternconverter.cpp b/src/libs/ifc/xml/vpatternconverter.cpp index 56320d8e3..1b8cc5f24 100644 --- a/src/libs/ifc/xml/vpatternconverter.cpp +++ b/src/libs/ifc/xml/vpatternconverter.cpp @@ -2224,7 +2224,7 @@ void VPatternConverter::PortPieceLabelstoV0_6_0() QString line; - const int material = GetParametrUInt(domMCP, strMaterial, "0"); + const int material = static_cast(GetParametrUInt(domMCP, strMaterial, "0")); switch(material) { case 0: