summaryrefslogtreecommitdiffhomepage
path: root/src/internal/perk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-26 01:02:37 +0000
committermidipix <writeonce@midipix.org>2024-01-26 03:16:39 +0000
commite1a2b14c1354a74d498349fb2afc3fcaa4d7259c (patch)
treecb516154ffcdb0caba09a2bdfa4b65c29946f3ce /src/internal/perk
parent0fad1cf6fceebe40e86b5320860b9c45848aa3e4 (diff)
downloadmdso-e1a2b14c1354a74d498349fb2afc3fcaa4d7259c.tar.bz2
mdso-e1a2b14c1354a74d498349fb2afc3fcaa4d7259c.tar.xz
argv.h: argv_show_error(): gracefully handle vendor-specific (-W) arguments.
Diffstat (limited to 'src/internal/perk')
-rw-r--r--src/internal/perk/perk_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/perk/perk_structs.h b/src/internal/perk/perk_structs.h
index 4dd2ffc..eed16f2 100644
--- a/src/internal/perk/perk_structs.h
+++ b/src/internal/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 */
};