diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-10 19:31:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-10 19:31:27 +0100 |
| commit | 3edab5ad8843b0a96ffd151bf74bc32c053f3f28 (patch) | |
| tree | 1fa75916007e2e81152be45e6b4ec2ec83a68c9f | |
| parent | 4ba4258d1a3c89aa1ec4bdcfacb3ceec18adb6b7 (diff) | |
Fix macOS build.
| -rw-r--r-- | test/subtitle_reel_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc index 2938c6d10..2c5c364d0 100644 --- a/test/subtitle_reel_test.cc +++ b/test/subtitle_reel_test.cc @@ -121,9 +121,9 @@ BOOST_AUTO_TEST_CASE (subtitle_in_all_reels_test) dcp::DCP dcp ("build/test/subtitle_in_all_reels_test/" + film->dcp_name()); dcp.read (); - BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1); + BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1U); shared_ptr<dcp::CPL> cpl = dcp.cpls().front(); - BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3); + BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3U); BOOST_FOREACH (shared_ptr<dcp::Reel> i, cpl->reels()) { BOOST_CHECK (i->main_subtitle()); @@ -166,12 +166,12 @@ BOOST_AUTO_TEST_CASE (closed_captions_in_all_reels_test) dcp::DCP dcp ("build/test/closed_captions_in_all_reels_test/" + film->dcp_name()); dcp.read (); - BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1); + BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1U); shared_ptr<dcp::CPL> cpl = dcp.cpls().front(); - BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3); + BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3U); BOOST_FOREACH (shared_ptr<dcp::Reel> i, cpl->reels()) { - BOOST_REQUIRE_EQUAL (i->closed_captions().size(), 2); + BOOST_REQUIRE_EQUAL (i->closed_captions().size(), 2U); optional<string> first = i->closed_captions().front()->language(); optional<string> second = i->closed_captions().back()->language(); BOOST_REQUIRE (first); |
