From 1bafa52172d430d134c46e0519d0eb53f4a10d5d Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Fri, 11 Apr 2014 16:19:30 -0700 Subject: [PATCH] Fix signed vs unsigned comparison. Change-Id: I4011607858f3a82acc04509c9f795f960496ed69 --- liblog/tests/liblog_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/tests/liblog_test.cpp b/liblog/tests/liblog_test.cpp index d726f2d02..24ae738f0 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(max_len)); android_logger_list_close(logger_list); }