From: fennecdjay Date: Fri, 4 Oct 2019 12:29:56 +0000 (+0200) Subject: :art: Use UINT_F X-Git-Tag: nightly~2198^2~145 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=fb70a427db21f12fbf7c7edfa590b653f1f7325c;p=gwion.git :art: Use UINT_F --- 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);