From 1607a01870258eb72ee7e9514560f73ad3360646 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 10 Aug 2019 14:15:55 -0700 Subject: [PATCH] Suppress a warning --- test/std-format-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } };