1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated

This commit is contained in:
Timothy Flynn 2023-01-13 10:52:17 -05:00 committed by Linus Groh
parent 63c814fa2f
commit 0ddc2e1f50
17 changed files with 24 additions and 24 deletions

View file

@ -305,7 +305,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(10).to_int<i64>().value();
return value.to_base_deprecated(10).to_int<i64>().value();
}
// 21.4.1.8 GetNamedTimeZoneEpochNanoseconds ( timeZoneIdentifier, year, month, day, hour, minute, second, millisecond, microsecond, nanosecond ), https://tc39.es/ecma262/#sec-getnamedtimezoneepochnanoseconds