From 967f68ab251e47d4ab281b9ceb48eccad30aeae6 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 16 Jun 2021 12:04:47 +0200 Subject: [PATCH] Space is ArrowArray_t --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index ad1a079..136e37b 100644 --- a/src/main.c +++ b/src/main.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) scheduler0 = (Scheduler_t*) calloc(1, sizeof(Scheduler_t)); scheduler0->globalDrawingSpace = - (ArrowArray_t*) calloc(1, sizeof(IntArray_t)); + (ArrowArray_t*) calloc(1, sizeof(ArrowArray_t)); scheduler0->globalDrawingSpace->space = (Arrow_t*) calloc(SPACE_SIZE, sizeof(Arrow_t)); scheduler0->globalDrawingSpace->size = SPACE_SIZE;