From 7d14098b2126b535cf66a173bed2a09f6df964f0 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Sun, 13 Jun 2010 03:06:14 +0000 Subject: [PATCH] Explicitly cast array::static_size to an int. Fixes #2761 [SVN r62893] --- include/boost/fusion/adapted/boost_array/array_iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/fusion/adapted/boost_array/array_iterator.hpp b/include/boost/fusion/adapted/boost_array/array_iterator.hpp index dbad7763..5453a639 100644 --- a/include/boost/fusion/adapted/boost_array/array_iterator.hpp +++ b/include/boost/fusion/adapted/boost_array/array_iterator.hpp @@ -26,7 +26,7 @@ namespace boost { namespace fusion : iterator_facade, random_access_traversal_tag> { BOOST_MPL_ASSERT_RELATION(Pos, >=, 0); - BOOST_MPL_ASSERT_RELATION(Pos, <=, Array::static_size); + BOOST_MPL_ASSERT_RELATION(Pos, <=, static_cast(Array::static_size)); typedef mpl::int_ index; typedef Array array_type;