diff --git a/src/tools/qlocale.cpp b/src/tools/qlocale.cpp index d79872ef7..16735d53b 100644 --- a/src/tools/qlocale.cpp +++ b/src/tools/qlocale.cpp @@ -4430,7 +4430,7 @@ static int lo0bits(ULong *y) if (!(x & 1)) { k++; x >>= 1; - if (!x & 1) + if (!x) // At this point x is zero if and only if the *y was zero return 32; } *y = x;