LibCrypto+LibJS: Remove {Signed,Unsigned}BigInteger to_base_deprecated

Use `to_base` instead.
This commit is contained in:
devgianlu 2025-04-21 12:13:50 +02:00 committed by Jelle Raaijmakers
commit a019efb24b
Notes: github-actions[bot] 2025-04-28 10:07:28 +00:00
8 changed files with 4 additions and 16 deletions

View file

@ -377,7 +377,7 @@ static i64 clip_bigint_to_sane_time(Crypto::SignedBigInteger const& value)
return NumericLimits<i64>::max();
// FIXME: Can we do this without string conversion?
return value.to_base_deprecated(10).to_number<i64>().value();
return MUST(value.to_base(10)).to_number<i64>().value();
}
static i64 clip_double_to_sane_time(double value)