summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-05-02 17:47:24 -0500
committerMark Salyzyn2014-05-02 17:47:24 -0500
commit6e2c0f7010ed7b2f8504f86e662211dea608f8f9 (patch)
treea42f4739f08ca592e548efc500af46882e6be7ef /logd/LogListener.cpp
parentccae68e47857170843934c38839c3f0323c65027 (diff)
downloadplatform-system-core-6e2c0f7010ed7b2f8504f86e662211dea608f8f9.tar.gz
platform-system-core-6e2c0f7010ed7b2f8504f86e662211dea608f8f9.tar.xz
platform-system-core-6e2c0f7010ed7b2f8504f86e662211dea608f8f9.zip
logd: build breakage in git_master-nova @ 1151709
Change-Id: Ic7920d1b0930155c20a896720a79af62f8acacc1
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 6ff4d3a09..8186cea97 100644
--- a/logd/LogListener.cpp
+++ b/logd/LogListener.cpp
@@ -103,7 +103,7 @@ bool LogListener::onDataAvailable(SocketClient *cli) {
103 // truncated message to the logs. 103 // truncated message to the logs.
104 104
105 logbuf->log(log_id, realtime, cred->uid, cred->pid, tid, msg, 105 logbuf->log(log_id, realtime, cred->uid, cred->pid, tid, msg,
106 (n <= USHRT_MAX) ? (unsigned short) n : USHRT_MAX); 106 ((size_t) n <= USHRT_MAX) ? (unsigned short) n : USHRT_MAX);
107 reader->notifyNewLog(); 107 reader->notifyNewLog();
108 108
109 return true; 109 return true;