提交 d511cfb5 编写于 作者: J Jonathan Kew 提交者: Behdad Esfahbod

[set] Bugfix for hb_set_next

上级 92bac64b
...@@ -95,7 +95,7 @@ struct hb_set_t ...@@ -95,7 +95,7 @@ struct hb_set_t
goto found; goto found;
for (i++; i < len (); i++) for (i++; i < len (); i++)
if (v[i]) if (v[i])
for (unsigned int j = 0; j < ELT_BITS; j++) for (j = 0; j < ELT_BITS; j++)
if (v[i] & (elt_t (1) << j)) if (v[i] & (elt_t (1) << j))
goto found; goto found;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册