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);