summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-22 08:00:15 +0000
committermidipix <writeonce@midipix.org>2024-02-22 08:00:15 +0000
commit636aa1cf1395da82a540a560f5f820bfc0b2a1e8 (patch)
tree8fcdb054b8c050f807ef60d79ab4dd2195a3e15a
parentcaef1086b335dd241d415af58f4685e441e60729 (diff)
downloadperk-636aa1cf1395da82a540a560f5f820bfc0b2a1e8.tar.bz2
perk-636aa1cf1395da82a540a560f5f820bfc0b2a1e8.tar.xz
perk_structs.h: c99 conformance: avoid invalid use of flexible array member.
-rw-r--r--include/perk/perk_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index 0a5875a..b1823b4 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -332,7 +332,7 @@ struct pe_raw_coff_symbol_name {
struct pe_raw_coff_strtbl {
unsigned char cst_size [0x04]; /* 0x00 */
- unsigned char cst_data[]; /* 0x04 */
+ unsigned char cst_data [0x01]; /* 0x04 */
};