aboutsummaryrefslogtreecommitdiffhomepage
path: root/embedfilesdir.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-27 16:47:44 +0100
committerlemon <lsof@mailbox.org>2025-10-27 16:47:44 +0100
commit317a26280e1582c426a13aecb77356f48c001a02 (patch)
tree707d2d0c3211fdd2cfcd14df2b89de74bcddc719 /embedfilesdir.c
parentba5446b5cb8330f8e318b8efccebeed7bd23e0f4 (diff)
lex: fix bugs filling char buffer
Diffstat (limited to 'embedfilesdir.c')
-rw-r--r--embedfilesdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embedfilesdir.c b/embedfilesdir.c
index a686d50..d2670b3 100644
--- a/embedfilesdir.c
+++ b/embedfilesdir.c
@@ -6,7 +6,7 @@ struct embedfile {
size_t len;
};
-#define S(s) (char [4096]){s}, sizeof #s - 1
+#define S(s) (char [4096]){s}, (sizeof s) - 1
struct embedfile embedfilesdir[] = {
{"stddef.h", S("\