summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-03-21 16:37:06 -0500
committerMark Salyzyn2014-03-21 17:48:05 -0500
commitdbb708a0a14733736e0f5f2274fd6b00d753985d (patch)
tree5a7705601ba0039404a4999c7a11e3365ce59724
parentee212d0053c6c8801dbd382d24c776040c4f8f0e (diff)
downloadplatform-system-core-dbb708a0a14733736e0f5f2274fd6b00d753985d.tar.gz
platform-system-core-dbb708a0a14733736e0f5f2274fd6b00d753985d.tar.xz
platform-system-core-dbb708a0a14733736e0f5f2274fd6b00d753985d.zip
logd: compile warning message
Change-Id: I7ddd010031299395cad96f1743d7a7e6a6866b4c
-rw-r--r--logd/LogListener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogListener.cpp b/logd/LogListener.cpp
index bef2097da..104a2eb26 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