diff --git a/AK/UFixedBigIntDivision.h b/AK/UFixedBigIntDivision.h index 0b9cc3d99a..0c133cd3ec 100644 --- a/AK/UFixedBigIntDivision.h +++ b/AK/UFixedBigIntDivision.h @@ -39,7 +39,7 @@ constexpr void div_mod_internal( if (dividend_len < divisor_len) { // dividend < divisor StorageOperations::set(0, quotient); if constexpr (restore_remainder) - remainder = operand1; + StorageOperations::copy(operand1, remainder); return; }