Skip to content

Commit

Permalink
use a consistent datatype to supress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesook committed May 22, 2024
1 parent 437dcce commit a708d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/box.cc
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ std::vector<std::shared_ptr<Box>> Box::get_child_boxes(uint32_t short_type) cons

int Box::find_or_append_child_box(const std::shared_ptr<Box>& 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;
}
Expand Down

0 comments on commit a708d8a

Please sign in to comment.