Replacing some integral typedefs with standard types
[libcds.git] / tests / unit / alloc / linux_scale.cpp
index bf05807b2f8865b0abc1e1c859f84eb8f44b5359..c6507d6d80b1ef7530f97f5747ee09ce3d81bd12 100644 (file)
@@ -65,7 +65,7 @@ namespace memory {
                         memset( p, 0, 16 );
                         memset( ((char *)p) + m_nSize * sizeof(*p) - 16, 0, 16 );
                     }
-                    CPPUNIT_ASSERT( (reinterpret_cast<cds::uptr_atomic_t>(p) & (ALLOC::alignment - 1)) == 0 );
+                    CPPUNIT_ASSERT( (reinterpret_cast<uintptr_t>(p) & (ALLOC::alignment - 1)) == 0 );
                     m_Alloc.deallocate( p, 1 );
                 }
             }