aboutsummaryrefslogtreecommitdiff
path: root/coreutils/factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/factor.c')
-rw-r--r--coreutils/factor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/factor.c b/coreutils/factor.c
index 48833e103..8ca3de71a 100644
--- a/coreutils/factor.c
+++ b/coreutils/factor.c
@@ -62,7 +62,7 @@ static inline half_t isqrt(wide_t N)
*/
x = HALF_MAX;
mask_2bits = TOPMOST_WIDE_BIT | (TOPMOST_WIDE_BIT >> 1);
- while (mask_2bits && !(N & mask_2bits)) {
+ while (!(N & mask_2bits)) {
x >>= 1;
mask_2bits >>= 2;
}