summaryrefslogtreecommitdiffstats
path: root/liblog/tests/liblog_test.cpp
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2014-04-11 23:31:24 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-11 23:31:24 +0000
commit3c29e66eaa683fcd1412f618f9da1e7c2e2b52aa (patch)
tree7366b97333e45861494d65282c3fe5e520d6d550 /liblog/tests/liblog_test.cpp
parenteef9f1da0b93e542aa25c5db6e5041609aaff77d (diff)
parent2f365509eb8a3696feb8063ba8e17ebd12beb7ff (diff)
downloadsystem_core-3c29e66eaa683fcd1412f618f9da1e7c2e2b52aa.zip
system_core-3c29e66eaa683fcd1412f618f9da1e7c2e2b52aa.tar.gz
system_core-3c29e66eaa683fcd1412f618f9da1e7c2e2b52aa.tar.bz2
am 2f365509: Merge "Fix signed vs unsigned comparison."
* commit '2f365509eb8a3696feb8063ba8e17ebd12beb7ff': Fix signed vs unsigned comparison.
Diffstat (limited to 'liblog/tests/liblog_test.cpp')
-rw-r--r--liblog/tests/liblog_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/tests/liblog_test.cpp b/liblog/tests/liblog_test.cpp
index d726f2d..24ae738 100644
--- a/liblog/tests/liblog_test.cpp
+++ b/liblog/tests/liblog_test.cpp
@@ -484,7 +484,7 @@ TEST(liblog, max_payload) {
EXPECT_EQ(true, matches);
- EXPECT_LE(sizeof(max_payload_buf), max_len);
+ EXPECT_LE(sizeof(max_payload_buf), static_cast<size_t>(max_len));
android_logger_list_close(logger_list);
}