From 4ed21eb4d509d717cbe85a0ddefcc03bfee60778 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 30 Aug 2017 10:16:40 +0300 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/libs/ifc/xml/vabstractpattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ifc/xml/vabstractpattern.cpp b/src/libs/ifc/xml/vabstractpattern.cpp index c8626c8d0..49e0e4e53 100644 --- a/src/libs/ifc/xml/vabstractpattern.cpp +++ b/src/libs/ifc/xml/vabstractpattern.cpp @@ -2066,7 +2066,7 @@ QMap VAbstractPattern::GetMaterials(const QDomElement &element) co { if (tagMaterial.tagName() == TagMaterial) { - const int number = GetParametrUInt(tagMaterial, AttrNumber, "0"); + const int number = static_cast(GetParametrUInt(tagMaterial, AttrNumber, "0")); const QString name = GetParametrEmptyString(tagMaterial, AttrName); if (number > 0 && number <= userMaterialPlaceholdersQuantity)