From c5a1bc5487955ae65a45b340e69bb9b40228a773 Mon Sep 17 00:00:00 2001 From: Gregory Tsipenyuk Date: Tue, 7 Jul 2026 12:24:11 -0400 Subject: [PATCH] Fix clang-tidy --- src/test/app/OfferMPT_test.cpp | 2 +- src/test/app/PathMPT_test.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/app/OfferMPT_test.cpp b/src/test/app/OfferMPT_test.cpp index 6563b2e432..52e6652327 100644 --- a/src/test/app/OfferMPT_test.cpp +++ b/src/test/app/OfferMPT_test.cpp @@ -4890,7 +4890,7 @@ public: // Smallest-magnitude IOU: mantissa kMinValue, exponent kMinOffset // (= 1e-81). divide(tinyUsd, XRP(1000)) underflows below kMinOffset // and canonicalizes to 0, so getRate() returns 0. - auto const tinyUsd = STAmount{usd, 1'000'000'000'000'000LL, -96}; + auto const tinyUsd = STAmount{usd, UINT64_C(1'000'000'000'000'000), -96}; auto setup = [&](Env& env) { env.fund(XRP(100'000), gw, alice, bob); diff --git a/src/test/app/PathMPT_test.cpp b/src/test/app/PathMPT_test.cpp index 19d0e7a970..37721839fc 100644 --- a/src/test/app/PathMPT_test.cpp +++ b/src/test/app/PathMPT_test.cpp @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include #include #include