From 858e80f3dd49f89dc022b93083f8db3ccdc5217d Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 11 Feb 2014 20:34:48 +0000 Subject: (svn r26333) -Fix: Compilation without static_assert. --- src/core/pool_type.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp index 25067ae27..4d20ed1ab 100644 --- a/src/core/pool_type.hpp +++ b/src/core/pool_type.hpp @@ -82,7 +82,7 @@ private: template struct Pool : PoolBase { /* Ensure Tmax_size is within the bounds of Tindex. */ - assert_compile((Tmax_size - 1) >> 8 * sizeof(Tindex) == 0); + assert_compile((uint64)(Tmax_size - 1) >> 8 * sizeof(Tindex) == 0); static const size_t MAX_SIZE = Tmax_size; ///< Make template parameter accessible from outside -- cgit v1.2.3-70-g09d2