diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-09-05 22:05:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 22:05:47 +0200 |
commit | 3b5dee1cc0038fdb09f5ff1b18f05dd561dbcb1c (patch) | |
tree | 794f48ee93863f86f409e32d4d72e48a3a94ff9f /src/include | |
parent | 42ded07139e41c54a9ae2c8875a9e2c56d50af41 (diff) |
Fix compilation (#2546)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_typedefs.h | 6 |
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 |