diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-06-20 14:27:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 14:27:13 +0200 |
commit | b2b61011ae888c0d61e623797c24df869187d1d9 (patch) | |
tree | 89a50634ac6fbeb074df9620e79a6356b778e23f /example/reader_util.c | |
parent | ab09b8ce2e72c562ad1bfc2ec2cecca9c23fb2a8 (diff) |
Fix compilation and sync unit tests results (#1606)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index c0bfcc459..eb0ba1b5b 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1434,7 +1434,7 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow, } ndpi_data_add_value(flow->pktlen_s_to_c, rawsize); flow->dst2src_packets++, flow->dst2src_bytes += rawsize, flow->dst2src_goodput_bytes += payload_len; - flow->risk &= ~(1UL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ + flow->risk &= ~(1ULL << NDPI_UNIDIRECTIONAL_TRAFFIC); /* Clear bit */ memcpy(&flow->dst2src_last_pkt_time, &when, sizeof(when)); #ifdef DIRECTION_BINS |