From a80a290079499a12246939d79e955dbce5f6fc4a Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Mon, 10 Sep 2018 18:57:28 +0200 Subject: Fix 'template argument uses local type'-warnings (when compiled in C++03 mode) --- test/integer_types.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integer_types.cpp') diff --git a/test/integer_types.cpp b/test/integer_types.cpp index e9e514f12..3f9030d77 100644 --- a/test/integer_types.cpp +++ b/test/integer_types.cpp @@ -134,8 +134,8 @@ template void integer_type_tests(const MatrixType& m) template void integer_types_extra() { - VERIFY_IS_EQUAL(internal::scalar_div_cost::value, 8); - VERIFY_IS_EQUAL(internal::scalar_div_cost::value, 8); + VERIFY_IS_EQUAL(int(internal::scalar_div_cost::value), 8); + VERIFY_IS_EQUAL(int(internal::scalar_div_cost::value), 8); if(sizeof(long)>sizeof(int)) { VERIFY(int(internal::scalar_div_cost::value) > int(internal::scalar_div_cost::value)); VERIFY(int(internal::scalar_div_cost::value) > int(internal::scalar_div_cost::value)); -- cgit v1.2.3