diff --git a/ostd/functional.hh b/ostd/functional.hh index 40f7104..b674d0e 100644 --- a/ostd/functional.hh +++ b/ostd/functional.hh @@ -225,8 +225,12 @@ namespace detail { template<> struct FnvConstants<8> { - static constexpr Size prime = 1099511628211ull; - static constexpr Size offset = 14695981039346656037ull; + /* conversion is necessary here because when compiling on + * 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) {