logd: build breakage in git_master-nova @ 1151709

Change-Id: Ic7920d1b0930155c20a896720a79af62f8acacc1
This commit is contained in:
Mark Salyzyn 2014-05-02 15:47:24 -07:00
parent ccae68e478
commit 6e2c0f7010
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;