Commit 6f6fe519 authored by Victor Zverovich's avatar Victor Zverovich

Fix more warnings.

parent 447e02c5
...@@ -1415,9 +1415,9 @@ TEST(FormatIntTest, Data) { ...@@ -1415,9 +1415,9 @@ TEST(FormatIntTest, Data) {
TEST(FormatIntTest, FormatInt) { TEST(FormatIntTest, FormatInt) {
EXPECT_EQ("42", fmt::FormatInt(42).str()); EXPECT_EQ("42", fmt::FormatInt(42).str());
EXPECT_EQ(2, fmt::FormatInt(42).size()); EXPECT_EQ(2u, fmt::FormatInt(42).size());
EXPECT_EQ("-42", fmt::FormatInt(-42).str()); EXPECT_EQ("-42", fmt::FormatInt(-42).str());
EXPECT_EQ(3, fmt::FormatInt(-42).size()); EXPECT_EQ(3u, fmt::FormatInt(-42).size());
EXPECT_EQ("42", fmt::FormatInt(42ul).str()); EXPECT_EQ("42", fmt::FormatInt(42ul).str());
EXPECT_EQ("-42", fmt::FormatInt(-42l).str()); EXPECT_EQ("-42", fmt::FormatInt(-42l).str());
EXPECT_EQ("42", fmt::FormatInt(42ull).str()); EXPECT_EQ("42", fmt::FormatInt(42ull).str());
......
...@@ -139,7 +139,7 @@ const uint64_t fmt::internal::POWERS_OF_10[] = { ...@@ -139,7 +139,7 @@ const uint64_t fmt::internal::POWERS_OF_10[] = {
ULongLong(1000000000) * 10000000, ULongLong(1000000000) * 10000000,
ULongLong(1000000000) * 100000000, ULongLong(1000000000) * 100000000,
ULongLong(1000000000) * 1000000000, ULongLong(1000000000) * 1000000000,
ULongLong(1000000000) * 10000000000 ULongLong(1000000000) * ULongLong(1000000000) * 10
}; };
void fmt::internal::ReportUnknownType(char code, const char *type) { void fmt::internal::ReportUnknownType(char code, const char *type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment