aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-09-05 22:05:47 +0200
committerGitHub <noreply@github.com>2024-09-05 22:05:47 +0200
commit3b5dee1cc0038fdb09f5ff1b18f05dd561dbcb1c (patch)
tree794f48ee93863f86f409e32d4d72e48a3a94ff9f /src/include
parent42ded07139e41c54a9ae2c8875a9e2c56d50af41 (diff)
Fix compilation (#2546)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_typedefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index deb8d9624..a3c9dcbcd 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