mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix build error
- Use an explicit cast to std::int64_t in std::max call, because suffixes are inconsistent.
This commit is contained in:
@@ -119,7 +119,7 @@ LoanPay::calculateBaseFee(ReadView const& view, STTx const& tx)
|
||||
// Charge one base fee per paymentsPerFeeIncrement payments, rounding up.
|
||||
Number::setround(Number::upward);
|
||||
auto const feeIncrements = std::max(
|
||||
1ll,
|
||||
std::int64_t(1),
|
||||
static_cast<std::int64_t>(
|
||||
numPaymentEstimate / loanPaymentsPerFeeIncrement));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user