From d32a0b27b5d2826db04060dbe296db59fcf85676 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 15 Jul 2022 10:36:58 +0200 Subject: fix: entferne überflüssige Klammern um Ausdruck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/arraylist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/arraylist.c b/src/arraylist.c index f010d07..0db35ad 100644 --- a/src/arraylist.c +++ b/src/arraylist.c @@ -82,7 +82,7 @@ ArrayList_growIfNeeded(struct ArrayList *arrayList) arrayList->array = ArrayList_allocateArray(NULL, DEFAULT_CAPACITY); } else { - size_t new_capacity = (arrayList->capacity * 3) / 2; // *= 1.5 + size_t new_capacity = arrayList->capacity * 3 / 2; // *= 1.5 T ** new_arrayList = ArrayList_allocateArray(arrayList->array, new_capacity); arrayList->capacity = new_capacity; -- cgit v1.3