diff --git a/AK/UFixedBigIntDivision.h b/AK/UFixedBigIntDivision.h index 171f9a44ef6..398a93ffbc0 100644 --- a/AK/UFixedBigIntDivision.h +++ b/AK/UFixedBigIntDivision.h @@ -95,7 +95,7 @@ constexpr void div_mod_internal( qhat = div_mod_words(dividend[i - 1], dividend[i], divisor_approx, rhat); auto is_qhat_too_large = [&] { - return UFixedBigInt { qhat }.wide_multiply(divisor[divisor_len - 2]) > u128 { dividend[i - 2], rhat }; + return UFixedBigInt { qhat }.wide_multiply(divisor[divisor_len - 2]) > UFixedBigInt { dividend[i - 2], rhat }; }; if (is_qhat_too_large()) { --qhat;