summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h b/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
index 07d3d9de4d..cebaf8395e 100644
--- a/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
@@ -60,7 +60,7 @@ struct cbfs_header {
uint32_t align; /* fixed to 64 bytes */
uint32_t offset;
uint32_t architecture;
- uint32_t pad[];
+ uint32_t pad[1];
} __packed;
/* this used to be flexible, but wasn't ever set to something different. */