damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e957c3b703eb3dfac860406257517aa8a1e4baba
parent 82fc4ff15e4b6585bc469bccfad3d7cf64e9315c
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 10 Jul 2023 11:03:39 -0700

wasm: fix clz64 warning

Diffstat:
Mdamus-c/wasm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus-c/wasm.c b/damus-c/wasm.c @@ -5164,7 +5164,7 @@ static INLINE int clz32(u32 x) static INLINE int clz64(u64 x) { - return x ? __builtin_clz(x) : sizeof(x) * 8; + return x ? __builtin_clzll(x) : sizeof(x) * 8; } static INLINE int ctz(u32 x)