summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/drivers/cbmem_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/cbmem_console.c b/payloads/libpayload/drivers/cbmem_console.c
index df40ad01be..c243d5e88d 100644
--- a/payloads/libpayload/drivers/cbmem_console.c
+++ b/payloads/libpayload/drivers/cbmem_console.c
@@ -32,7 +32,7 @@
struct cbmem_console {
uint32_t size;
uint32_t cursor;
- uint8_t body[0];
+ uint8_t body[];
} __packed;
#define CURSOR_MASK ((1 << 28) - 1)