Bug 64476 - Typo in hb_set_t.get_min()

Fixes previous commit's test.
This commit is contained in:
Behdad Esfahbod 2013-05-14 15:30:55 -04:00
parent dfbd115e6c
commit fa3d0a0ce6
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ struct hb_set_t
{
for (unsigned int i = 0; i < ELTS; i++)
if (elts[i])
for (unsigned int j = 0; i < BITS; j++)
for (unsigned int j = 0; j < BITS; j++)
if (elts[i] & (1 << j))
return i * BITS + j;
return SENTINEL;