mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Eliminate another warning.
This commit is contained in:
parent
86996d4315
commit
4464fa5d39
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ private:
|
||||||
static inline unsigned long _hc(const uint32_t i)
|
static inline unsigned long _hc(const uint32_t i)
|
||||||
{
|
{
|
||||||
// In the uint32_t case we use a simple multiplier for hashing to ensure coverage
|
// In the uint32_t case we use a simple multiplier for hashing to ensure coverage
|
||||||
return ((unsigned long)i * (unsigned long)2654435761);
|
return ((unsigned long)i * (unsigned long)0x9e3779b1);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void _grow()
|
inline void _grow()
|
||||||
|
|
Loading…
Add table
Reference in a new issue