Fix incorrect sign on boost test constants.
[dcpomatic.git] / test / subtitle_reel_number_test.cc
index f02920b7f5ed43620e66177561897a8db08f03d3..23e03b7bc6ed8704d79c1148ba8566a498cc6d8a 100644 (file)
@@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
-       shared_ptr<StringTextFileContent> content (new StringTextFileContent (film, "test/data/subrip5.srt"));
+       shared_ptr<StringTextFileContent> content (new StringTextFileContent("test/data/subrip5.srt"));
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());
        content->only_text()->set_use (true);
@@ -56,9 +56,9 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test)
 
        dcp::DCP dcp ("build/test/subtitle_reel_number_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(), 6);
+       BOOST_REQUIRE_EQUAL (cpl->reels().size(), 6U);
 
        int n = 1;
        BOOST_FOREACH (shared_ptr<dcp::Reel> i, cpl->reels()) {