summaryrefslogtreecommitdiff
path: root/test/cpl_metadata_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-22 11:08:54 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-22 12:22:44 +0200
commited1f39dc5664d642f0f5af1a606e2e7aebd5e5f4 (patch)
tree6d77fdb25e8f80f7dd61c343997028727ec67f65 /test/cpl_metadata_test.cc
parent6ffa60433c4d6ce4ccee31e1f2459b0dd0758c00 (diff)
Fix some macOS signed/unsigned warnings.
Diffstat (limited to 'test/cpl_metadata_test.cc')
-rw-r--r--test/cpl_metadata_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpl_metadata_test.cc b/test/cpl_metadata_test.cc
index 511098ea..b90aae4a 100644
--- a/test/cpl_metadata_test.cc
+++ b/test/cpl_metadata_test.cc
@@ -235,12 +235,12 @@ BOOST_AUTO_TEST_CASE (cpl_metadata_read_test1)
BOOST_CHECK (cpl.main_picture_active_area().get() == dcp::Size(1440, 1080));
auto reels = cpl.reels ();
- BOOST_REQUIRE_EQUAL (reels.size(), 1);
+ BOOST_REQUIRE_EQUAL (reels.size(), 1U);
BOOST_REQUIRE (reels.front()->main_subtitle()->language());
BOOST_CHECK_EQUAL (reels.front()->main_subtitle()->language().get(), "de-DE");
auto asl = cpl.additional_subtitle_languages();
- BOOST_REQUIRE_EQUAL (asl.size(), 2);
+ BOOST_REQUIRE_EQUAL (asl.size(), 2U);
BOOST_CHECK_EQUAL (asl[0], "en-US");
BOOST_CHECK_EQUAL (asl[1], "fr-ZA");
@@ -408,7 +408,7 @@ BOOST_AUTO_TEST_CASE (cpl_metadata_read_test2)
BOOST_CHECK (cpl.main_picture_active_area().get() == dcp::Size(1440, 1080));
auto reels = cpl.reels ();
- BOOST_REQUIRE_EQUAL (reels.size(), 1);
+ BOOST_REQUIRE_EQUAL (reels.size(), 1U);
}