X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/8185af6a8e8e587f267d901328f7c5d956c06de3..180a565ffb443a3c9430bd04e7bbb1963e239412:/src/explain.c diff --git a/src/explain.c b/src/explain.c index a22b4d0..6d6aa87 100644 --- a/src/explain.c +++ b/src/explain.c @@ -76,8 +76,7 @@ explain_array(struct output_state *dst, struct cdecl_array *a) if (a->vla) { rc = cdecl__emit(dst, a->vla); } else { - rc = snprintf(dst->dst, dst->dstlen, "%.0" PRIuMAX, a->length); - cdecl__advance(dst, rc); + rc = cdecl__emit_uint(dst, a->length); } cdecl__emit(dst, " of " + !rc);