From f581875ce002e4d60fd60c070ffc91cfbf83655f Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 2 Nov 2026 08:06:27 +0100 Subject: sym.c: Const-qualify table --- src/prc1/sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/prc1/sym.c') diff --git a/src/prc1/sym.c b/src/prc1/sym.c index e63e680..cc8c129 100644 --- a/src/prc1/sym.c +++ b/src/prc1/sym.c @@ -331,7 +331,7 @@ static int endsym(const struct lex *l, struct prv *p) static int invalid(const struct tk *tk, const struct type *a, const struct type *b) { - static int t[BUILTIN + 1][BUILTIN + 1] = + static const int t[BUILTIN + 1][BUILTIN + 1] = { /* U S C P T PTR ARY BUILTIN */ /* U */ {1, 0, 0, 0, 0, 0, 0, 0}, -- cgit v1.2.3