commit | dbb708a0a14733736e0f5f2274fd6b00d753985d | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Mar 21 14:37:06 2014 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Fri Mar 21 15:48:05 2014 -0700 |
tree | 5a7705601ba0039404a4999c7a11e3365ce59724 | |
parent | ee212d0053c6c8801dbd382d24c776040c4f8f0e [diff] |
logd: compile warning message Change-Id: I7ddd010031299395cad96f1743d7a7e6a6866b4c
diff --git a/logd/LogListener.cpp b/logd/LogListener.cpp index bef2097..104a2eb 100644 --- a/logd/LogListener.cpp +++ b/logd/LogListener.cpp
@@ -50,7 +50,7 @@ int socket = cli->getSocket(); ssize_t n = recvmsg(socket, &hdr, 0); - if (n <= (sizeof_log_id_t + sizeof(uint16_t) + sizeof(log_time))) { + if (n <= (ssize_t)(sizeof_log_id_t + sizeof(uint16_t) + sizeof(log_time))) { return false; }