commit | 97a71102153d28982297a190739c7d82e76b109e | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sun Feb 18 10:50:24 2018 -0800 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sun Feb 18 10:50:24 2018 -0800 |
tree | ad82843c298c6fbfd5f5e2b47d24ff4bb22c7e0c | |
parent | fe8f40a4180e7b02831a264c0b3c66763156abb6 [diff] |
Fix BitScanForward() usage Should fix Win64 bot.
diff --git a/src/hb-private.hh b/src/hb-private.hh index 583b561..daa496e 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh
@@ -458,14 +458,14 @@ { 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