From: Carl Hetherington Date: Tue, 8 Dec 2020 15:47:06 +0000 (+0100) Subject: Fix test build on macOS. X-Git-Tag: 11.0-build-runs~53 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=d5c44003e016ea4d7ef0d59f3fffac1cb84f4839 Fix test build on macOS. --- diff --git a/test/hints_test.cc b/test/hints_test.cc index aabcaaeac..5222f9046 100644 --- a/test/hints_test.cc +++ b/test/hints_test.cc @@ -75,7 +75,7 @@ check (TextType type, string name, optional expected_hint = optional hints = get_hints (film); if (expected_hint) { - BOOST_REQUIRE_EQUAL (hints.size(), 1); + BOOST_REQUIRE_EQUAL (hints.size(), 1U); BOOST_CHECK_EQUAL (hints[0], *expected_hint); } else { BOOST_CHECK (hints.empty()); @@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE (hint_subtitle_mxf_too_big) BOOST_REQUIRE (!wait_for_jobs()); vector hints = get_hints (film); - BOOST_REQUIRE_EQUAL (hints.size(), 1); + BOOST_REQUIRE_EQUAL (hints.size(), 1U); BOOST_CHECK_EQUAL ( hints[0], "At least one of your subtitle files is larger than " MAX_TEXT_MXF_SIZE_TEXT " in total. " @@ -201,7 +201,7 @@ BOOST_AUTO_TEST_CASE (hint_closed_caption_xml_too_big) BOOST_REQUIRE (!wait_for_jobs()); vector hints = get_hints (film); - BOOST_REQUIRE_EQUAL (hints.size(), 1); + BOOST_REQUIRE_EQUAL (hints.size(), 1U); BOOST_CHECK_EQUAL ( hints[0], "At least one of your closed caption files' XML part is larger than " MAX_CLOSED_CAPTION_XML_SIZE_TEXT ". "