From 1cd05ff45830bb29e9cd67844c8654e8e9aa5df1 Mon Sep 17 00:00:00 2001 From: Gregory Wells Date: Tue, 17 Jun 2025 12:09:56 -0400 Subject: [PATCH] make max size 1 at start --- utils/lists/gryphn_array_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lists/gryphn_array_list.h b/utils/lists/gryphn_array_list.h index e011fc7..f9bfe65 100644 --- a/utils/lists/gryphn_array_list.h +++ b/utils/lists/gryphn_array_list.h @@ -10,7 +10,7 @@ type* data; \ } type##ArrayList; \ inline static type##ArrayList type##ArrayListCreate() { \ type##ArrayList list;\ -list.maxSize = 2; \ +list.maxSize = 1; \ list.count = 0;\ list.data = malloc(sizeof(type) * list.maxSize); \ return list; \