aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/integer_types.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-06-27 14:29:57 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-06-27 14:29:57 +0200
commitc010b173608550d515f0aafd95cf8488af546e1a (patch)
tree52c63efef30ca6878d7de929e677892d46852f42 /test/integer_types.cpp
parent561f77707525644a10cbd971ad14bf47aa0e93e0 (diff)
Fix warning
Diffstat (limited to 'test/integer_types.cpp')
-rw-r--r--test/integer_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integer_types.cpp b/test/integer_types.cpp
index a21f73a81..25126315a 100644
--- a/test/integer_types.cpp
+++ b/test/integer_types.cpp
@@ -162,8 +162,8 @@ void test_integer_types()
VERIFY_IS_EQUAL(internal::scalar_div_cost<int>::value, 8);
VERIFY_IS_EQUAL(internal::scalar_div_cost<unsigned int>::value, 8);
if(sizeof(long)>sizeof(int)) {
- VERIFY(internal::scalar_div_cost<long>::value > internal::scalar_div_cost<int>::value);
- VERIFY(internal::scalar_div_cost<unsigned long>::value > internal::scalar_div_cost<int>::value);
+ VERIFY(int(internal::scalar_div_cost<long>::value) > int(internal::scalar_div_cost<int>::value));
+ VERIFY(int(internal::scalar_div_cost<unsigned long>::value) > int(internal::scalar_div_cost<int>::value));
}
#endif
}