Browse Source

Add missing UnsignedInt cast.

pull/449/head
Burak Canik 6 years ago committed by Vladimír Vondruš
parent
commit
c5574d89e7
  1. 2
      src/Magnum/Trade/MeshData.h

2
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

Loading…
Cancel
Save