diff options
author | Ben Cheng <bccheng@google.com> | 2014-04-11 16:19:30 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2014-04-11 16:27:30 -0700 |
commit | 1bafa52172d430d134c46e0519d0eb53f4a10d5d (patch) | |
tree | 4f409747b7174321d076e30d6923a1c9b5abca7c /liblog | |
parent | ba419940f75d93ac4aacef695da0570b1591f140 (diff) | |
download | system_core-1bafa52172d430d134c46e0519d0eb53f4a10d5d.zip system_core-1bafa52172d430d134c46e0519d0eb53f4a10d5d.tar.gz system_core-1bafa52172d430d134c46e0519d0eb53f4a10d5d.tar.bz2 |
Fix signed vs unsigned comparison.
Change-Id: I4011607858f3a82acc04509c9f795f960496ed69
Diffstat (limited to 'liblog')
-rw-r--r-- | liblog/tests/liblog_test.cpp | 2 |
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); } |