From 7cd30184fd4b5b3eac9c43338a3716a4a8aa6c2a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 27 Feb 2023 10:08:42 +0100 Subject: [PATCH] Fix signed-ness warning on macOS. --- test/cpl_metadata_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpl_metadata_test.cc b/test/cpl_metadata_test.cc index 632b12a0..827201a2 100644 --- 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(channels)); int index = 1; for (auto sub: channel_label_sub_descriptors) { BOOST_CHECK_EQUAL(sub->number_child("MCAChannelID"), index); -- 2.30.2