From 13810d133a7b50f29324a9107219b478ad6b1286 Mon Sep 17 00:00:00 2001 From: fatma202377 <135248725+fatma202377@users.noreply.github.com> Date: Fri, 2 Jun 2023 15:31:15 +0200 Subject: [PATCH] Update liste.c modifier code --- liste.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liste.c b/liste.c index ce30547..4e26858 100755 --- a/liste.c +++ b/liste.c @@ -10,7 +10,7 @@ struct element { liste creerliste() { liste l = (liste) malloc (sizeof(struct element)); - l->next=NULL; + l->contenu=(void *) malloc (sizeof(void *)); return l; }