From 7aeb779fd9735fd112d72b6281f63cade798c489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Fri, 20 Oct 2023 18:21:01 +0200 Subject: [PATCH] debug --- grille.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grille.c b/grille.c index 64f2cf6..e900d06 100644 --- a/grille.c +++ b/grille.c @@ -52,7 +52,7 @@ colonne *creer_colonne(int capacite) bool agrandir_colonne(int diff_taille, colonne *col) { - printf("J'appelle realloc(%p, %d + %d)\n", col->jetons, col->capacite + diff_taille); + printf("J'appelle realloc(%p, %d + %d)\n", col->jetons, col->capacite, diff_taille); jeton *jetons_nouv = realloc(col->jetons, col->capacite + diff_taille); if (jetons_nouv == NULL)