diff options
| author | Behdad Esfahbod <behdad@behdad.org> | 2018-02-18 10:50:24 -0800 |
|---|---|---|
| committer | Behdad Esfahbod <behdad@behdad.org> | 2018-02-18 10:50:24 -0800 |
| commit | 97a71102153d28982297a190739c7d82e76b109e (patch) | |
| tree | ad82843c298c6fbfd5f5e2b47d24ff4bb22c7e0c | |
| parent | fe8f40a4180e7b02831a264c0b3c66763156abb6 (diff) | |
| download | harfbuzz-bitops.tar.gz | |
Fix BitScanForward() usagebitops
Should fix Win64 bot.
| -rw-r--r-- | src/hb-private.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-private.hh b/src/hb-private.hh index 583b5615..daa496e9 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -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 |
