summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/cbmem_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cbmem_console.c b/src/lib/cbmem_console.c
index ad3b99bbba..fe33c3b6a4 100644
--- a/src/lib/cbmem_console.c
+++ b/src/lib/cbmem_console.c
@@ -28,7 +28,7 @@
struct cbmem_console {
u32 size;
u32 cursor;
- u8 body[0];
+ u8 body[];
} __packed;
#define MAX_SIZE (1 << 28) /* can't be changed without breaking readers! */