mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-20 22:16:54 +02:00
warning removal
This commit is contained in:
parent
789b8b8454
commit
ecd09946e6
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
|
||||
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)
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue