Skip to content

Commit

Permalink
Fix compilation (#2546)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNardi authored Sep 5, 2024
1 parent 42ded07 commit 3b5dee1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/ndpi_typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b5dee1

Please sign in to comment.