From 8299d25eb224c87260301b701dbb736390dbadd2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 1 Nov 2021 02:06:42 +0200 Subject: [PATCH] Avoid size_t to int conversion warning in visit_each_test.cpp --- test/visit_each_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } };