Skip to content

Commit 11fe65a

Browse files
committed
fix: buildbot failure
1 parent 4df287a commit 11fe65a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/__support/fixed_point/fx_bits.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ countls(T f) {
188188
constexpr int PADDING_LEN = CONTAIN_LEN - FXRep::TOTAL_LEN;
189189

190190
if constexpr (FXRep::SIGN_LEN != 0) {
191-
if (x < 0)
192-
x = bit_not(x);
191+
if (f < 0)
192+
f = bit_not(f);
193193
}
194194

195195
BitType value_bits = FXBits(x)::get_bits();

0 commit comments

Comments
 (0)