提交 718dfd41 编写于 作者: B Behdad Esfahbod

Fix shift

上级 25aa411a
......@@ -220,7 +220,7 @@ hb_ctz (T v)
{
unsigned int shift = 64;
return (uint64_t) v ? hb_bit_storage<uint64_t> ((uint64_t) v) :
hb_bit_storage<uint64_t> ((uint64_t) v >> shift) + shift;
hb_bit_storage<uint64_t> ((uint64_t) (v >> shift)) + shift;
}
assert (0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册