From 9c6fcd4499bbec873b9dfd2125f5a3f6ea1daf2f Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Thu, 5 Sep 2024 21:49:21 +0200 Subject: [PATCH] Fix compilation --- src/include/ndpi_typedefs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index deb8d9624ba..a3c9dcbcd09 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1540,10 +1540,10 @@ struct ndpi_flow_struct { #if !defined(NDPI_CFFI_PREPROCESSING) && defined(__linux__) #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L -_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 256, - "Size of the struct member protocols increased to more than 256 bytes, " +_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 264, + "Size of the struct member protocols increased to more than 264 bytes, " "please check if this change is necessary."); -_Static_assert(sizeof(struct ndpi_flow_struct) <= 1120, +_Static_assert(sizeof(struct ndpi_flow_struct) <= 1128, "Size of the flow struct increased to more than 1120 bytes, " "please check if this change is necessary."); #endif