From c19b3e277399a513c5e3a02d126ba666847566df Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 15 Oct 2025 22:08:02 +0200 Subject: lowsetsetbit --- common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.h b/common.h index e6f36bf..f728eea 100644 --- a/common.h +++ b/common.h @@ -96,7 +96,8 @@ lowestsetbit(uvlong x) int i = 0; for (uvlong mask = 1;; ++i, mask <<= 1) if (x & mask) - return i; + break; + return i; #endif } -- cgit v1.2.3