From 31beeb07562c0f68ac8ec61935f0701067721f24 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 21 Aug 2017 16:03:43 +0300 Subject: [PATCH] Clang warnings. --HG-- branch : develop --- src/libs/ifc/xml/vdomdocument.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/ifc/xml/vdomdocument.cpp b/src/libs/ifc/xml/vdomdocument.cpp index 408b986fc..924e6b652 100644 --- a/src/libs/ifc/xml/vdomdocument.cpp +++ b/src/libs/ifc/xml/vdomdocument.cpp @@ -943,8 +943,8 @@ QVector VDomDocument::GetLabelTemplate(const QDomElement &el line.line = GetParametrString(tagLine, AttrText, tr("")); line.bold = GetParametrBool(tagLine, AttrBold, falseStr); line.italic = GetParametrBool(tagLine, AttrItalic, falseStr); - line.alignment = GetParametrUInt(tagLine, AttrAlignment, "0"); - line.fontSizeIncrement = GetParametrUInt(tagLine, AttrFSIncrement, "0"); + line.alignment = static_cast(GetParametrUInt(tagLine, AttrAlignment, "0")); + line.fontSizeIncrement = static_cast(GetParametrUInt(tagLine, AttrFSIncrement, "0")); lines.append(line); } tagLine = tagLine.nextSiblingElement(TagLine);