From a708d8adc8bd4986307f80d5822b61c96dce5699 Mon Sep 17 00:00:00 2001 From: dukesook Date: Wed, 22 May 2024 08:41:45 -0600 Subject: [PATCH] use a consistent datatype to supress warnings --- libheif/box.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libheif/box.cc b/libheif/box.cc index 452038676e..676718b7aa 100644 --- a/libheif/box.cc +++ b/libheif/box.cc @@ -742,7 +742,7 @@ std::vector> Box::get_child_boxes(uint32_t short_type) cons int Box::find_or_append_child_box(const std::shared_ptr& box) { - for (size_t i = 0; i < m_children.size(); i++) { + for (int i = 0; i < (int) m_children.size(); i++) { if (Box::equal(m_children[i], box)) { return i; }