Windows compilation fix.

This commit is contained in:
Zied Aouini
2022-07-22 20:14:30 +02:00
parent 52005e88ed
commit 9d040f6317
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -998,7 +998,7 @@ typedef struct _ndpi_automa {
typedef struct ndpi_str_hash {
unsigned int hash;
void *value;
u_int8_t private_data[0];
u_int8_t private_data[1]; /* Avoid error C2466 */
} ndpi_str_hash;
typedef struct ndpi_proto {