projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d86fd0
)
Fix signed-ness warning on macOS.
author
Carl Hetherington
<cth@carlh.net>
Mon, 27 Feb 2023 09:08:42 +0000
(10:08 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 27 Feb 2023 09:08:58 +0000
(10:08 +0100)
test/cpl_metadata_test.cc
patch
|
blob
|
history
diff --git
a/test/cpl_metadata_test.cc
b/test/cpl_metadata_test.cc
index 632b12a0e216e8fd74f78fdafab604259ba3560d..827201a29d7d894a4ec35facc67f79457cd0159b 100644
(file)
--- a/
test/cpl_metadata_test.cc
+++ b/
test/cpl_metadata_test.cc
@@
-477,7
+477,7
@@
check_audio_channel_label_sub_descriptors(int channels)
BOOST_REQUIRE(mca_sub_descriptors);
auto channel_label_sub_descriptors = mca_sub_descriptors->node_children("AudioChannelLabelSubDescriptor");
- BOOST_CHECK_EQUAL(channel_label_sub_descriptors.size(),
channels
);
+ BOOST_CHECK_EQUAL(channel_label_sub_descriptors.size(),
static_cast<size_t>(channels)
);
int index = 1;
for (auto sub: channel_label_sub_descriptors) {
BOOST_CHECK_EQUAL(sub->number_child<int>("MCAChannelID"), index);