summaryrefslogtreecommitdiff
path: root/src/lib/aplwc_internal.h
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-09-22 19:20:39 +0000
committerpeter <peter@pmikkelsen.com>2026-09-22 19:20:39 +0000
commit1e88f84ab887be0330585fdb7b8eeb22280cc9d6 (patch)
treedd0b7a9855532881dcb7b526e9fe5874770c8c4c /src/lib/aplwc_internal.h
parent83bdc0e59232434fc30f94e2fc3a22e81989e4dd (diff)
parent949896e24ef16d703ee07fb3e489f2a986050d5b (diff)
Switch to using autoconf/automake instead of cmake
FossilOrigin-Name: a2ebdf11ce7ef258d626a19c68be57e4facb6cfdf4653584eb32c70eca90b6ae
Diffstat (limited to 'src/lib/aplwc_internal.h')
-rw-r--r--src/lib/aplwc_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/aplwc_internal.h b/src/lib/aplwc_internal.h
index 328b5de..8c13dfe 100644
--- a/src/lib/aplwc_internal.h
+++ b/src/lib/aplwc_internal.h
@@ -67,7 +67,7 @@ struct aplwc_line {
struct string {
size_t bytes;
size_t chars;
- uint8_t utf8[1];
+ uint8_t utf8[FLEXIBLE_ARRAY_MEMBER];
};
enum token_tag {
@@ -100,7 +100,7 @@ struct token {
struct token_list {
struct string *text;
size_t length;
- struct token tokens[1];
+ struct token tokens[FLEXIBLE_ARRAY_MEMBER];
};
enum value_tag {