From 16538abf8d1231279133508ba15376145b818518 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 10 May 2022 21:12:33 +0300 Subject: autotools and check testign suite --- src/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.c') diff --git a/src/types.c b/src/types.c index 3233323..8918d98 100644 --- a/src/types.c +++ b/src/types.c @@ -370,7 +370,7 @@ distinct_sum_items(recipe * dst, recipe * src) for (int i = 0; i < src->in; i++) { int n = item_exists(src->i[i]->name, dst); if (n != -1) { - char tmp[2048] = ""; + char tmp[FODD_MAX_ARRAY] = ""; strcat(tmp, dst->i[n]->qty); strcat(tmp, " + "); strcat(tmp, src->i[i]->qty); -- cgit v1.2.3