From 400d51c09977f22775f0f95eb18b369ea3477889 Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Wed, 4 Jan 2023 14:19:12 +0100 Subject: [PATCH] Fix compile MSVC --- apps/openmw_test_suite/mwworld/test_store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }