--- boost/visit_each.hpp +++ boost/visit_each.hpp @@ -22,7 +22,7 @@ template inline void visit_each(Visitor& visitor, const T& t) { - visit_each(visitor, t, 0); + visit_each(visitor, t, (long)0); } }