diff --git a/test/visit_each_test.cpp b/test/visit_each_test.cpp index a0da6be..d1fcc3c 100644 --- a/test/visit_each_test.cpp +++ b/test/visit_each_test.cpp @@ -45,7 +45,7 @@ struct V void operator()( std::string const & w ) { - s_ = s_ * 10 + w.size(); + s_ = s_ * 10 + static_cast( w.size() ); } };