From c5574d89e7ea2f7ce5a79bba9675387b7e5004b7 Mon Sep 17 00:00:00 2001 From: Burak Canik Date: Sun, 17 May 2020 18:59:44 +0300 Subject: [PATCH] Add missing UnsignedInt cast. --- src/Magnum/Trade/MeshData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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