Merge "logd: compile warning message"
This commit is contained in:
commit
c66607a8aa
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ bool LogListener::onDataAvailable(SocketClient *cli) {
|
||||||
int socket = cli->getSocket();
|
int socket = cli->getSocket();
|
||||||
|
|
||||||
ssize_t n = recvmsg(socket, &hdr, 0);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue