summaryrefslogtreecommitdiff
path: root/test/dcp_font_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/dcp_font_test.cc
parent6ffa60433c4d6ce4ccee31e1f2459b0dd0758c00 (diff)
Fix some macOS signed/unsigned warnings.
Diffstat (limited to 'test/dcp_font_test.cc')
-rw-r--r--test/dcp_font_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_font_test.cc b/test/dcp_font_test.cc
index 361f5011..f4db1c20 100644
--- a/test/dcp_font_test.cc
+++ b/test/dcp_font_test.cc
@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE (interop_dcp_font_test)
dcp2.cpls()[0]->reels()[0]->main_subtitle()->asset_ref().asset()
);
BOOST_REQUIRE (subs2);
- BOOST_REQUIRE_EQUAL (subs2->_fonts.size(), 1);
+ BOOST_REQUIRE_EQUAL (subs2->_fonts.size(), 1U);
auto const size = boost::filesystem::file_size ("test/data/dummy.ttf");
dcp::File f("test/data/dummy.ttf", "rb");
@@ -116,7 +116,7 @@ BOOST_AUTO_TEST_CASE (smpte_dcp_font_test)
dcp2.cpls().front()->reels().front()->main_subtitle()->asset_ref().asset()
);
BOOST_REQUIRE (subs2);
- BOOST_REQUIRE_EQUAL (subs2->_fonts.size(), 1);
+ BOOST_REQUIRE_EQUAL (subs2->_fonts.size(), 1U);
auto const size = boost::filesystem::file_size ("test/data/dummy.ttf");
dcp::File f("test/data/dummy.ttf", "rb");