]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / smart_ptr / detail / atomic_count_std_atomic.hpp
index 55b9998e52aecc4cdf9b0c31c15718de11bf5bad..3d5fb78fcb997d757cdd79dfb10b31b752705d11 100644 (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 ) )
     {
     }