From 0c3a2f5dcba30300857c33049f869b6545a79920 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 15 Feb 2014 10:08:19 -0800 Subject: [PATCH] Fix warnings about constants being too large. --- format.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/format.cc b/format.cc index b9d4fcfb..d35a0aac 100644 --- a/format.cc +++ b/format.cc @@ -128,16 +128,16 @@ const uint64_t fmt::internal::POWERS_OF_10[] = { 10000000, 100000000, 1000000000, - 10000000000, - 100000000000, - 1000000000000, - 10000000000000, - 100000000000000, - 1000000000000000, - 10000000000000000, - 100000000000000000, - 1000000000000000000, - 10000000000000000000u + 10000000000ull, + 100000000000ull, + 1000000000000ull, + 10000000000000ull, + 100000000000000ull, + 1000000000000000ull, + 10000000000000000ull, + 100000000000000000ull, + 1000000000000000000ull, + 10000000000000000000ull }; void fmt::internal::ReportUnknownType(char code, const char *type) {