Merge "logd: compile warning message"

This commit is contained in:
Mark Salyzyn 2014-03-24 21:56:34 +00:00 committed by Gerrit Code Review
commit c66607a8aa
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ bool LogListener::onDataAvailable(SocketClient *cli) {
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;
}