gestion d'erreurs

master
Louis GERMAIN 1 year ago
parent e894901d52
commit 372b43db7c

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

Loading…
Cancel
Save