aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/memif/memif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/memif.h b/src/plugins/memif/memif.h
index 8539c984732..1c92d2640e5 100644
--- a/src/plugins/memif/memif.h
+++ b/src/plugins/memif/memif.h
@@ -172,7 +172,7 @@ typedef struct
MEMIF_CACHELINE_ALIGN_MARK (cacheline1);
volatile uint16_t tail;
MEMIF_CACHELINE_ALIGN_MARK (cacheline2);
- memif_desc_t desc[0];
+ memif_desc_t desc[];
} memif_ring_t;
#endif /* _MEMIF_H_ */