atomic_count_std_atomic: static_cast v to std::int_least32_t

* fix implicit conversion warning
This commit is contained in:
Carl Bussey
2019-06-18 11:44:17 +02:00
parent e4d642c46a
commit 876d40a9ab

View File

@ -26,7 +26,7 @@ class atomic_count
{
public:
explicit atomic_count( long v ): value_( v )
explicit atomic_count( long v ): value_( static_cast< std::int_least32_t >( v ) )
{
}