diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-29 20:55:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-12 17:33:27 +0200 |
| commit | b29eb5107c5e77fe01e43010e1582e733f6ceea1 (patch) | |
| tree | 3656e3c7774b39735c34ebb059697deccfb3b280 /test/subtitle_reel_test.cc | |
| parent | cd92063f7c67093ac789cb3aa78e534a3a85ef92 (diff) | |
Fix incorrect sign on boost test constants.
Diffstat (limited to 'test/subtitle_reel_test.cc')
| -rw-r--r-- | test/subtitle_reel_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc index 7a722b460..156581932 100644 --- a/test/subtitle_reel_test.cc +++ b/test/subtitle_reel_test.cc @@ -64,11 +64,11 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_test) dcp::DCP dcp ("build/test/subtitle_reel_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(); list<shared_ptr<dcp::Reel> > reels = cpl->reels (); - BOOST_REQUIRE_EQUAL (reels.size(), 2); + BOOST_REQUIRE_EQUAL (reels.size(), 2U); list<shared_ptr<dcp::Reel> >::const_iterator i = reels.begin (); BOOST_REQUIRE ((*i)->main_subtitle()); BOOST_REQUIRE ((*i)->main_subtitle()->asset()); @@ -80,8 +80,8 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_test) shared_ptr<dcp::InteropSubtitleAsset> B = boost::dynamic_pointer_cast<dcp::InteropSubtitleAsset>((*i)->main_subtitle()->asset()); BOOST_REQUIRE (B); - BOOST_REQUIRE_EQUAL (A->subtitles().size(), 1); - BOOST_REQUIRE_EQUAL (B->subtitles().size(), 1); + BOOST_REQUIRE_EQUAL (A->subtitles().size(), 1U); + BOOST_REQUIRE_EQUAL (B->subtitles().size(), 1U); /* These times should be the same as they are should be offset from the start of the reel */ BOOST_CHECK (A->subtitles().front()->in() == B->subtitles().front()->in()); |
