diff options
| author | 2025-12-10 09:57:22 +0100 | |
|---|---|---|
| committer | 2025-12-10 09:57:22 +0100 | |
| commit | 15cf067c4e65c1728c48ab049d48219daa436265 (patch) | |
| tree | 3dcac9f8a85cc9c9f5c2ecc62963800084124274 /common.h | |
| parent | 600d94645e128dc88fdb9a2b6d42a5b49a138fd5 (diff) | |
misc fixes
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ ispo2(uvlong x) { static inline uint ilog2(uvlong x) { /* assumes x is a power of 2 */ #if HAS_BUILTIN(ctz) - return __builtin_ctz(x); + return __builtin_ctzll(x); #else uint n = 0; while (x >>= 1) ++n; |