Fix BitScanForward() usage

Should fix Win64 bot.
This commit is contained in:
Behdad Esfahbod 2018-02-18 10:50:24 -08:00
parent fe8f40a418
commit 97a7110215
1 changed files with 2 additions and 2 deletions

View File

@ -458,14 +458,14 @@ _hb_ctz (T v)
{
unsigned long where;
_BitScanForward (&where, v);
return 1 + where;
return where;
}
# if _WIN64
if (sizeof (T) <= 8)
{
unsigned long where;
_BitScanForward64 (&where, v);
return 1 + where;
return where;
}
# endif
#endif