From c4262903d8bdf22f58b0a984df3c1f767d0798d0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 21 Aug 2017 18:59:11 +0300 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/libs/ifc/xml/vpatternconverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: