Skip to content

Commit

Permalink
Merge pull request #946 from kmilos/fix_printf
Browse files Browse the repository at this point in the history
Fix printf error
  • Loading branch information
farindk authored Aug 27, 2023
2 parents 0e52a02 + 3bef1b6 commit d6e2335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/heif_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ int main(int argc, char** argv)
long unsigned int data_len = heif_region_get_inline_mask_data_len(regions[j]);
std::vector<uint8_t> mask_data(data_len);
heif_region_get_inline_mask_data(regions[j], &x, &y, &w, &h, mask_data.data());
printf(" inline mask [x=%i, y=%i, w=%u, h=%u, data len=%lu]\n", x, y, w, h, mask_data.size());
printf(" inline mask [x=%i, y=%i, w=%u, h=%u, data len=%zu]\n", x, y, w, h, mask_data.size());
}
}

Expand Down

0 comments on commit d6e2335

Please sign in to comment.