diff --git a/src/Magnum/Trade/MeshData.h b/src/Magnum/Trade/MeshData.h index 57b08684b..f25cd7e78 100644 --- a/src/Magnum/Trade/MeshData.h +++ b/src/Magnum/Trade/MeshData.h @@ -1164,7 +1164,7 @@ class MAGNUM_TRADE_EXPORT MeshData { * returns count of elements in every @ref attribute() array. * @see @ref attributeCount(MeshAttribute) const */ - UnsignedInt attributeCount() const { return _attributes.size(); } + UnsignedInt attributeCount() const { return UnsignedInt(_attributes.size()); } /** * @brief Raw attribute data