am dc57f4d9: Merge "logd: build breakage in git_master-nova @ 1151709"

* commit 'dc57f4d93ad2c8dbf2ea1b031328e12fa2fac401':
  logd: build breakage in git_master-nova @ 1151709
This commit is contained in:
Mark Salyzyn 2014-05-02 22:54:58 +00:00 committed by Android Git Automerger
commit 174f30b170
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ bool LogListener::onDataAvailable(SocketClient *cli) {
// truncated message to the logs.
logbuf->log(log_id, realtime, cred->uid, cred->pid, tid, msg,
(n <= USHRT_MAX) ? (unsigned short) n : USHRT_MAX);
((size_t) n <= USHRT_MAX) ? (unsigned short) n : USHRT_MAX);
reader->notifyNewLog();
return true;