diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-06 12:45:28 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-06 12:45:28 -0700 |
| commit | 8a2e8bd5854619c9f701ad300724a1e58d4b6822 (patch) | |
| tree | 83e1336170003babdf4d477b1cc9badebffb232d /node/Hashtable.hpp | |
| parent | 43780742b03ffa69fb1a1868f976ac03edce921b (diff) | |
| download | infinitytier-8a2e8bd5854619c9f701ad300724a1e58d4b6822.tar.gz infinitytier-8a2e8bd5854619c9f701ad300724a1e58d4b6822.zip | |
Rework how paths are set as remote cluster preferred. The code is now clearer and cluster preference indications are now very sticky as they should be.
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 c550191e..66f2990a 100644 --- a/node/Hashtable.hpp +++ b/node/Hashtable.hpp @@ -362,7 +362,7 @@ private: template<typename O> static inline unsigned long _hc(const O &obj) { - return obj.hashCode(); + return (unsigned long)obj.hashCode(); } static inline unsigned long _hc(const uint64_t i) { |
