From 15cf067c4e65c1728c48ab049d48219daa436265 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 10 Dec 2025 09:57:22 +0100 Subject: misc fixes --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index 77d24c4..26e4b61 100644 --- a/common.h +++ b/common.h @@ -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; -- cgit v1.2.3