From fb70a427db21f12fbf7c7edfa590b653f1f7325c Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 4 Oct 2019 14:29:56 +0200 Subject: [PATCH] :art: Use UINT_F --- src/parse/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/check.c b/src/parse/check.c index ca8d29f0..2e5b6d45 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -404,7 +404,7 @@ ANN static Type tuple_depth(const Env env, const Array_Sub array) { ANN static Type partial_depth(const Env env, const Array_Sub array) { const Exp curr = take_exp(array->exp, array->type->array_depth); if(!curr->next || !array_base(array->type)) - ERR_O(array->exp->pos, _("array subscripts (%i) exceeds defined dimension (%i)"), + ERR_O(array->exp->pos, _("array subscripts (%"UINT_F") exceeds defined dimension (%"UINT_F")"), array->depth, get_depth(array->type)) struct Array_Sub_ next = { curr->next, array_base(array->type), array->depth - array->type->array_depth }; return at_depth(env, &next); -- 2.43.0