Commit 9bb93992 authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent f1d85164
......@@ -174,7 +174,7 @@ TEST(UtilTest, Increment) {
template <typename Int>
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<Int>::max() / 10; n <= end; ++i) {
n *= 10;
......
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