actual warning fix

master
Daniel Kolesa 2015-07-26 19:08:47 +01:00
parent 3fbaedbfc2
commit bf8be04b01
1 changed files with 6 additions and 2 deletions

View File

@ -225,8 +225,12 @@ namespace detail {
template<> struct FnvConstants<8> { template<> struct FnvConstants<8> {
static constexpr Size prime = 1099511628211ull; /* conversion is necessary here because when compiling on
static constexpr Size offset = 14695981039346656037ull; * 32bit, compilers will complain, despite this template
* not being instantiated...
*/
static constexpr Size prime = Size(1099511628211u);
static constexpr Size offset = Size(14695981039346656037u);
}; };
inline Size mem_hash(const void *p, Size l) { inline Size mem_hash(const void *p, Size l) {