Skip to content

Commit

Permalink
Fix warning around signed/unsigned comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Jul 4, 2024
1 parent 682da93 commit ba2d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/image/vpImageConvert_yuv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace
{
void vpSAT(int &c)
{
const unsigned int val_255 = 255;
const int val_255 = 255;
if (c < 0) {
c = 0;
}
Expand Down

0 comments on commit ba2d618

Please sign in to comment.