hash: fix WINSCW warning
This commit is contained in:
parent
033688cf2d
commit
c761cc1b6a
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ uint32_t hash_valid_size(uint32_t size)
|
|||
{
|
||||
uint32_t x;
|
||||
|
||||
for (x=0; (uint32_t)1<<x < size && x < 31; x++);
|
||||
for (x=0; (uint32_t)1<<x < size && x < 31; x++)
|
||||
;
|
||||
|
||||
return 1<<x;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue