diff --git a/srcs/charge.c b/srcs/charge.c index b682a49..8f51b60 100644 --- a/srcs/charge.c +++ b/srcs/charge.c @@ -64,7 +64,7 @@ Tache **chargeTaches(Offre *tabTravaux[]) Precedence *prec; int i, tmaxPrec=5, tlogPrec; Tache *t, **tabTache; - tabTache = Tache(**)malloc(8*sizeof(Tache *)); + tabTache = (Tache **)malloc(8*sizeof(Tache *)); if (tabTache == NULL) { printf("\033[0;31mErreur: \033[0mmalloc tableau tache\n");