diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-12 15:18:11 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-12 15:18:11 -0400 |
commit | 3f80b6f659fe7480e537246ea79fbf6a0ec43031 (patch) | |
tree | 1d2bb4e4a75845071f690016522144f2f917c63f /data_structures.c | |
parent | 17da3317f2725e454f5dfdcec307b59e57f4df4f (diff) |
fixed could not open file error message
Diffstat (limited to 'data_structures.c')
-rw-r--r-- | data_structures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data_structures.c b/data_structures.c index 06bbc90..9bab854 100644 --- a/data_structures.c +++ b/data_structures.c @@ -111,7 +111,7 @@ static void arr_set_lena_(void **arr, size_t n, size_t item_sz, Allocator *a) { static void *arr_add_(void **arr, size_t item_sz) { ArrHeader *hdr; if (*arr == NULL) { - arr_resv_(arr, 10, item_sz); + arr_resv_(arr, 1, item_sz); hdr = arr_hdr(*arr); } else { hdr = arr_hdr(*arr); |