Fix shift
This commit is contained in:
parent
25aa411ac5
commit
718dfd4189
|
@ -220,7 +220,7 @@ hb_ctz (T v)
|
||||||
{
|
{
|
||||||
unsigned int shift = 64;
|
unsigned int shift = 64;
|
||||||
return (uint64_t) v ? hb_bit_storage<uint64_t> ((uint64_t) v) :
|
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);
|
assert (0);
|
||||||
|
|
Loading…
Reference in New Issue