From cb5cddb39973341cce9267242c8ee5294a64b3c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 6 Dec 2019 20:59:18 +0100 Subject: [PATCH] :art: Improve tuple --- src/lib/tuple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tuple.c b/src/lib/tuple.c index 9edc94bb..a92d0a0e 100644 --- a/src/lib/tuple.c +++ b/src/lib/tuple.c @@ -277,7 +277,7 @@ ANN Type tuple_type(const Env env, const Vector v, const loc_t pos) { Stmt_List base = NULL, curr = NULL; Type_List tlbase = NULL, tl = NULL; for(m_uint i = 0; i < vector_size(v); ++i) { - char name[num_digit(i) + 2]; + char name[num_digit(i) + 16]; sprintf(name, "@tuple member %lu", i); const Symbol sym = insert_symbol(name); const Type t = (Type)vector_at(v, i); -- 2.43.0