diff options
author | Luca Deri <deri@ntop.org> | 2017-04-29 08:32:28 +0000 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-04-29 08:32:28 +0000 |
commit | af5021d571b682d540b796eb59f31dcddd3f3aa0 (patch) | |
tree | d9c5988d313eefaf4f4a9426e05da24129083b5c | |
parent | e1b905124fce4d1aac35006f6721e27c1ee81228 (diff) |
Fixed warning
-rw-r--r-- | src/lib/protocols/oscar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/oscar.c b/src/lib/protocols/oscar.c index 869b36378..d6ca25cde 100644 --- a/src/lib/protocols/oscar.c +++ b/src/lib/protocols/oscar.c @@ -579,7 +579,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct { /* request ID */ req_ID = get_u_int32_t(packet->payload, 12); - if((req_ID <= 4294967295)) + if((req_ID <= ((u_int32_t)-1))) { NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected \n"); ndpi_int_oscar_add_connection(ndpi_struct, flow); |