소스 검색

Eliminate another warning.

Adam Ierymenko 10 년 전
부모
커밋
4464fa5d39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      node/Hashtable.hpp

+ 1 - 1
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()