From b2b61011ae888c0d61e623797c24df869187d1d9 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 20 Jun 2022 14:27:13 +0200 Subject: Fix compilation and sync unit tests results (#1606) --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index cb7e93d26..bcb069520 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -5123,7 +5123,7 @@ void ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str, else if(flow->packet_direction_counter[1] == 0) ndpi_set_risk(ndpi_str, flow, NDPI_UNIDIRECTIONAL_TRAFFIC, "No server to client traffic"); else { - flow->risk &= ~(1UL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ + flow->risk &= ~(1ULL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ } } -- cgit v1.2.3