We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dd7004 commit 0cd3397Copy full SHA for 0cd3397
1 file changed
tests/mesh/boundary_info.C
@@ -746,9 +746,9 @@ public:
746
std::vector<boundary_id_type> container;
747
bi.boundary_ids(elem, 3, container);
748
749
- CPPUNIT_ASSERT_EQUAL((unsigned long) 2, container.size());
750
- CPPUNIT_ASSERT_EQUAL((short int) 5, container[0]);
751
- CPPUNIT_ASSERT_EQUAL((short int) 3, container[1]);
+ CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(2), container.size());
+ CPPUNIT_ASSERT_EQUAL(static_cast<boundary_id_type>(5), container[0]);
+ CPPUNIT_ASSERT_EQUAL(static_cast<boundary_id_type>(3), container[1]);
752
}
753
754
0 commit comments