From d24a782bc43fa704ca04d21de8bf8450c0a18828 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 d3946bf28..25b6a2afc 100644 --- a/src/Magnum/Trade/MeshData.h +++ b/src/Magnum/Trade/MeshData.h @@ -1152,7 +1152,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