diff --git a/include/boost/mpl/for_each.hpp b/include/boost/mpl/for_each.hpp index 21d63ed..1feadc9 100644 --- a/include/boost/mpl/for_each.hpp +++ b/include/boost/mpl/for_each.hpp @@ -76,7 +76,7 @@ struct for_each_impl typedef typename mpl::next::type iter; for_each_impl::value> - ::execute((iter*)0, (LastIterator*)0, (TransformFunc*)0, f); + ::execute( static_cast(0), static_cast(0), static_cast(0), f); } }; @@ -98,7 +98,7 @@ void for_each(F f, Sequence* = 0, TransformOp* = 0) typedef typename end::type last; aux::for_each_impl< boost::is_same::value > - ::execute((first*)0, (last*)0, (TransformOp*)0, f); + ::execute(static_cast(0), static_cast(0), static_cast(0), f); } template<