* commit 'f48c687f6ce0463af6d489c1c117ee1278ee3a86': logd: compile warning message
This commit is contained in:
commit
a2b2acd4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue