Core/SparsePtr: Fix warning

This commit is contained in:
Lynix 2018-01-06 02:46:08 +01:00
parent 61ecedfe8c
commit b85a762476
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace Nz
template<typename T>
SparsePtr<T>::SparsePtr(VoidPtr ptr, std::size_t stride)
{
assert(stride <= std::numeric_limits<int>::max());
assert(stride <= static_cast<unsigned int>(std::numeric_limits<int>::max()));
Reset(ptr, static_cast<int>(stride));
}