Space is ArrowArray_t

This commit is contained in:
Adrien Bourmault 2021-06-16 12:04:47 +02:00
parent c7cb91a077
commit 967f68ab25
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 1 deletions

View File

@ -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;