From 857020c475947c0aed94e8156be1ba809fa8fe30 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 1 Jul 2015 16:40:43 +0200 Subject: Added missing type that defaulted to int --- src/include/ndpi_typedefs.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index c02103e63..8e24021c7 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -476,14 +476,10 @@ typedef struct ndpi_packet_struct { # error protocol stack size not supported # endif - /* struct { */ - /* u_int8_t entry_is_real_protocol:5; */ - /* u_int8_t current_stack_size_minus_one:3; */ - /* } */ #if !defined(WIN32) __attribute__ ((__packed__)) #endif - protocol_stack_info; + u_int16_t protocol_stack_info; #endif struct ndpi_int_one_line_struct line[NDPI_MAX_PARSE_LINES_PER_PACKET]; @@ -677,15 +673,10 @@ typedef struct ndpi_flow_struct { # error protocol stack size not supported # endif - /* struct { */ - /* u_int8_t entry_is_real_protocol:5; */ - /* u_int8_t current_stack_size_minus_one:3; */ - /* } */ - #if !defined(WIN32) __attribute__ ((__packed__)) #endif - protocol_stack_info; + u_int16_t protocol_stack_info; #endif /* init parameter, internal used to set up timestamp,... */ -- cgit v1.2.3