Clang warning.
--HG-- branch : develop
This commit is contained in:
parent
d62a8d03f2
commit
4ed21eb4d5
|
@ -2066,7 +2066,7 @@ QMap<int, QString> VAbstractPattern::GetMaterials(const QDomElement &element) co
|
|||
{
|
||||
if (tagMaterial.tagName() == TagMaterial)
|
||||
{
|
||||
const int number = GetParametrUInt(tagMaterial, AttrNumber, "0");
|
||||
const int number = static_cast<int>(GetParametrUInt(tagMaterial, AttrNumber, "0"));
|
||||
const QString name = GetParametrEmptyString(tagMaterial, AttrName);
|
||||
|
||||
if (number > 0 && number <= userMaterialPlaceholdersQuantity)
|
||||
|
|
Loading…
Reference in New Issue
Block a user