From 5c2b400f878c9cb04c2cc83701f25f0d179f0f63 Mon Sep 17 00:00:00 2001 From: Luc Dartois Date: Fri, 10 Feb 2023 11:46:34 +0100 Subject: [PATCH] Update 'TP/fonctionsAide.c' --- TP/fonctionsAide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TP/fonctionsAide.c b/TP/fonctionsAide.c index cc64ec9..f73cb7a 100644 --- a/TP/fonctionsAide.c +++ b/TP/fonctionsAide.c @@ -58,7 +58,7 @@ void visuelGraphe(graphe g){ //Aides matrices //Creation matrice carrée vide : int** creerMatriceId(int taille){ - int** res=malloc(taille,sizeof(*int)); + int** res=malloc(taille,sizeof(int*)); for(int i=0;i