提交 fa3d0a0c 编写于 作者: B Behdad Esfahbod

Bug 64476 - Typo in hb_set_t.get_min()

Fixes previous commit's test.
上级 dfbd115e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册