aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analyzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.c b/src/analyzer.c
index 1bbb43c..b67bc91 100644
--- a/src/analyzer.c
+++ b/src/analyzer.c
@@ -90,7 +90,7 @@ static analyzer analyzeblk, analyzedecl, analyzeexpr, analyzefn, analyzestmt,
/* Perform constant-folding on the expression at index I in the AST, and
assert that the resulting constant can be represented by type T. */
static idx_t constfoldexpr(struct azctx *, type_t *T, idx_t i)
- __attribute__((nonnull));
+ __attribute__((nonnull(1)));
/* Assert if the types T1 and T2 are compatible with each other */
static bool typecompat(type_t *t1, type_t *t2)