aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/safe_readlink_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/safe_readlink_unittest.cc')
-rw-r--r--src/common/linux/safe_readlink_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/linux/safe_readlink_unittest.cc b/src/common/linux/safe_readlink_unittest.cc
index 191fb9f1..d346b2a8 100644
--- a/src/common/linux/safe_readlink_unittest.cc
+++ b/src/common/linux/safe_readlink_unittest.cc
@@ -48,7 +48,7 @@ TEST(SafeReadLinkTest, BoundaryBufferSize) {
char buffer[PATH_MAX];
EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer, sizeof(buffer)));
size_t path_length = strlen(buffer);
- EXPECT_LT(0, path_length);
+ EXPECT_LT(0U, path_length);
EXPECT_GT(sizeof(buffer), path_length);
// Buffer size equals to the expected path length plus 1 for the NULL byte.