diff --git a/test/std-format-test.cc b/test/std-format-test.cc index 7ee6e8c4..5d7576b0 100644 --- a/test/std-format-test.cc +++ b/test/std-format-test.cc @@ -147,7 +147,7 @@ template <> struct std::formatter<__int128_t> : std::formatter { auto format(__int128_t n, format_context& ctx) { // Format as a long long since we only want to check if it is possible to // specialize formatter for __int128_t. - return formatter::format(n, ctx); + return formatter::format(static_cast(n), ctx); } };