Skip to content

Commit

Permalink
address a clang scan warning (II)
Browse files Browse the repository at this point in the history
  • Loading branch information
opcm committed Dec 13, 2023
1 parent fcb822a commit 5868016
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,10 @@ inline uint32 build_bit_ui(uint32 beg, uint32 end)
{
end = 31;
}
if (beg > 31)
{
beg = 31;
}
if (end == 31)
{
myll = (uint32)(-1);
Expand Down

0 comments on commit 5868016

Please sign in to comment.