warning removal

This commit is contained in:
Adam Ierymenko 2020-02-27 11:45:06 -08:00
parent 789b8b8454
commit ecd09946e6
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -39,7 +39,7 @@ public:
ZT_ALWAYS_INLINE void zero() noexcept ZT_ALWAYS_INLINE void zero() noexcept
{ {
for(int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) for(unsigned int i=0;i<(384 / (sizeof(unsigned long) * 8));++i)
_h[i] = 0; _h[i] = 0;
} }
@ -55,7 +55,7 @@ public:
ZT_ALWAYS_INLINE operator bool() const noexcept ZT_ALWAYS_INLINE operator bool() const noexcept
{ {
for(int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) { for(unsigned int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) {
if (_h[i] != 0) if (_h[i] != 0)
return true; return true;
} }