summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-03-24 16:56:34 -0500
committerGerrit Code Review2014-03-24 16:56:34 -0500
commitc66607a8aa50da898d85a6c94b0bf8b5f172893e (patch)
tree10a4687a959627537e52faad768aa2cacc1b0031 /logd/LogListener.cpp
parentc388b9f241bfd6495ba074ed1e59f93844d4bcd0 (diff)
parentdbb708a0a14733736e0f5f2274fd6b00d753985d (diff)
downloadplatform-system-core-c66607a8aa50da898d85a6c94b0bf8b5f172893e.tar.gz
platform-system-core-c66607a8aa50da898d85a6c94b0bf8b5f172893e.tar.xz
platform-system-core-c66607a8aa50da898d85a6c94b0bf8b5f172893e.zip
Merge "logd: compile warning message"
Diffstat (limited to 'logd/LogListener.cpp')
-rw-r--r--logd/LogListener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogListener.cpp b/logd/LogListener.cpp
index 874302ac9..b835b4f07 100644
--- a/logd/LogListener.cpp
+++ b/logd/LogListener.cpp
@@ -50,7 +50,7 @@ bool LogListener::onDataAvailable(SocketClient *cli) {
50 int socket = cli->getSocket(); 50 int socket = cli->getSocket();
51 51
52 ssize_t n = recvmsg(socket, &hdr, 0); 52 ssize_t n = recvmsg(socket, &hdr, 0);
53 if (n <= (sizeof_log_id_t + sizeof(uint16_t) + sizeof(log_time))) { 53 if (n <= (ssize_t)(sizeof_log_id_t + sizeof(uint16_t) + sizeof(log_time))) {
54 return false; 54 return false;
55 } 55 }
56 56