diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-23 10:29:05 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-23 10:29:05 -0700 |
commit | 4464fa5d392dd930bf847c2dc1c5886398e5d8dd (patch) | |
tree | 7153152043c75e3120316c7d834d313d1bd7b25e /node/Hashtable.hpp | |
parent | 86996d4315743a8295d05ad2cea1139c32337d2d (diff) | |
download | infinitytier-4464fa5d392dd930bf847c2dc1c5886398e5d8dd.tar.gz infinitytier-4464fa5d392dd930bf847c2dc1c5886398e5d8dd.zip |
Eliminate another warning.
Diffstat (limited to 'node/Hashtable.hpp')
-rw-r--r-- | node/Hashtable.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Hashtable.hpp b/node/Hashtable.hpp index d2b85c15..beef1468 100644 --- a/node/Hashtable.hpp +++ b/node/Hashtable.hpp @@ -383,7 +383,7 @@ private: static inline unsigned long _hc(const uint32_t i) { // 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() |