Avoid -Wsign-conversion warning

This commit is contained in:
Peter Dimov committed 2023-06-25 13:47:24 +03:00
1 parent 5e7596ef06
commit 13be03abf8
1 file changed
+1 -1
@@ -137,7 +137,7 @@ public:
long use_count() const // nothrow
{
return atomic_load( &use_count_ );
return static_cast<long>( atomic_load( &use_count_ ) );
}
};