Skip to content

Commit 23633ba

Browse files
committed
Fixes warning.
1 parent 4a3958f commit 23633ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/codestream/ojph_params.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ namespace ojph {
787787
ui32 bit_depth = 0;
788788
if (comp_num < 3 && is_employing_color_transform())
789789
{
790-
for (int c = 0; c < 3; ++c)
790+
for (ui32 c = 0; c < 3; ++c)
791791
bit_depth = ojph_max(bit_depth, siz->get_bit_depth(c));
792792
++bit_depth; // colour transform needs one extra bit
793793
}

0 commit comments

Comments
 (0)