Browse Source

Add missing UnsignedInt cast.

pull/445/head
Burak Canik 6 years ago committed by GitHub
parent
commit
d24a782bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Magnum/Trade/MeshData.h

2
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

Loading…
Cancel
Save