diff --git a/apps/openmw_test_suite/mwworld/test_store.cpp b/apps/openmw_test_suite/mwworld/test_store.cpp index e8c4dbc8a7..d2163520f7 100644 --- a/apps/openmw_test_suite/mwworld/test_store.cpp +++ b/apps/openmw_test_suite/mwworld/test_store.cpp @@ -315,8 +315,8 @@ static void testRecNameIntCount(const MWWorld::Store& store, const MWWorld::E { const unsigned int recordIdCount = std::apply([](auto&&... x) { return (hasSameRecordId(x, T::sRecordId) + ...); }, stores); - ASSERT_EQ(recordIdCount, 1) << "The same RecNameInt is used twice ESM::REC_" - << MWWorld::getRecNameString(T::sRecordId).toStringView(); + ASSERT_EQ(recordIdCount, static_cast(1)) + << "The same RecNameInt is used twice ESM::REC_" << MWWorld::getRecNameString(T::sRecordId).toStringView(); } }