diff --git a/format-test.cc b/format-test.cc index 23555f23..40a4fbbd 100644 --- a/format-test.cc +++ b/format-test.cc @@ -174,7 +174,7 @@ TEST(UtilTest, Increment) { template void TestCountDigits(Int) { for (Int i = 0; i < 10; ++i) - EXPECT_EQ(1, fmt::internal::CountDigits(i)); + EXPECT_EQ(1u, fmt::internal::CountDigits(i)); for (Int i = 1, n = 1, end = std::numeric_limits::max() / 10; n <= end; ++i) { n *= 10;