From 3fbaedbfc2276feafd7ed784826a03a42e06cdc3 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 26 Jul 2015 18:57:23 +0100 Subject: [PATCH] prevent compiler warnings on 32bit (code is not reached, but compilers complain) --- ostd/functional.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ostd/functional.hh b/ostd/functional.hh index 61085dd..40f7104 100644 --- a/ostd/functional.hh +++ b/ostd/functional.hh @@ -225,8 +225,8 @@ namespace detail { template<> struct FnvConstants<8> { - static constexpr Size prime = 1099511628211u; - static constexpr Size offset = 14695981039346656037u; + static constexpr Size prime = 1099511628211ull; + static constexpr Size offset = 14695981039346656037ull; }; inline Size mem_hash(const void *p, Size l) {