Core/SparsePtr: Fix warning
This commit is contained in:
parent
61ecedfe8c
commit
b85a762476
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue