* commit '3e1f5ba67e0f2403da9278a6226e9f8979f975b7': logd: compile warning message
This commit is contained in:
commit
4102af05a8
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