mirror of
https://github.com/boostorg/core.git
synced 2025-07-31 13:27:29 +02:00
Avoid size_t to int conversion warning in visit_each_test.cpp
This commit is contained in:
@@ -45,7 +45,7 @@ struct V
|
|||||||
|
|
||||||
void operator()( std::string const & w )
|
void operator()( std::string const & w )
|
||||||
{
|
{
|
||||||
s_ = s_ * 10 + w.size();
|
s_ = s_ * 10 + static_cast<int>( w.size() );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user