Commit f68d329d authored by Victor Zverovich's avatar Victor Zverovich

Fix warning.

parent 99e6112f
......@@ -268,7 +268,7 @@ TEST(UtilTest, StrError) {
EXPECT_STREQ("", message);
result = StrError(error_code, message = buffer, BUFFER_SIZE);
EXPECT_EQ(0, result);
EXPECT_GE(BUFFER_SIZE - 1, std::strlen(message));
EXPECT_GE(BUFFER_SIZE - 1u, std::strlen(message));
EXPECT_STREQ(strerror(error_code), message);
result = StrError(error_code, message = buffer, std::strlen(message));
EXPECT_EQ(ERANGE, result);
......
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