Skip to content

Commit

Permalink
Fixes warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Dec 13, 2024
1 parent 4a3958f commit 23633ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/codestream/ojph_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ namespace ojph {
ui32 bit_depth = 0;
if (comp_num < 3 && is_employing_color_transform())
{
for (int c = 0; c < 3; ++c)
for (ui32 c = 0; c < 3; ++c)
bit_depth = ojph_max(bit_depth, siz->get_bit_depth(c));
++bit_depth; // colour transform needs one extra bit
}
Expand Down

0 comments on commit 23633ba

Please sign in to comment.