From 63140cf46b43824d77206402cef13f01c2b9cdde Mon Sep 17 00:00:00 2001 From: michele papalini Date: Mon, 18 Feb 2019 15:11:14 +0100 Subject: [HICN-68] remove compiling warnign on MAC-OS Change-Id: I6e238cd3ae20e081cfedec8c249eebec38af2028 Signed-off-by: michele papalini --- hicn-light/src/io/udpListener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hicn-light') diff --git a/hicn-light/src/io/udpListener.c b/hicn-light/src/io/udpListener.c index 4411bc7f6..6cdb9283e 100644 --- a/hicn-light/src/io/udpListener.c +++ b/hicn-light/src/io/udpListener.c @@ -459,7 +459,7 @@ static void _readCommand(UdpListener *udp, int fd, command_id id = *(command + 1); - if ( id < 0 || id >= LAST_COMMAND_VALUE){ + if (id >= LAST_COMMAND_VALUE){ printf("the message received is not a valid command, drop\n"); return; } -- cgit 1.2.3-korg