mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
Don't use ssize_t in bitfield.c (cleaner w/o it anyway)
This commit is contained in:
parent
068bccd46b
commit
295eade2a6
1 changed files with 3 additions and 3 deletions
|
@ -45,10 +45,10 @@ static size_t
|
|||
countArray (const tr_bitfield * b)
|
||||
{
|
||||
size_t ret = 0;
|
||||
ssize_t i = b->alloc_count;
|
||||
size_t i = b->alloc_count;
|
||||
|
||||
while (--i >= 0)
|
||||
ret += trueBitCount[b->bits[i]];
|
||||
while (i > 0)
|
||||
ret += trueBitCount[b->bits[--i]];
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue