parent
fe8f40a418
commit
97a7110215
|
@ -458,14 +458,14 @@ _hb_ctz (T v)
|
||||||
{
|
{
|
||||||
unsigned long where;
|
unsigned long where;
|
||||||
_BitScanForward (&where, v);
|
_BitScanForward (&where, v);
|
||||||
return 1 + where;
|
return where;
|
||||||
}
|
}
|
||||||
# if _WIN64
|
# if _WIN64
|
||||||
if (sizeof (T) <= 8)
|
if (sizeof (T) <= 8)
|
||||||
{
|
{
|
||||||
unsigned long where;
|
unsigned long where;
|
||||||
_BitScanForward64 (&where, v);
|
_BitScanForward64 (&where, v);
|
||||||
return 1 + where;
|
return where;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue