give adress instead of the whole variable
This commit is contained in:
parent
800f2e4c56
commit
15d9c78893
1 changed files with 1 additions and 1 deletions
2
arbre.c
2
arbre.c
|
@ -158,7 +158,7 @@ Entete recuperationLettre(char lettre, Entete *enteteListe, int nombreLettresDan
|
|||
|
||||
Arbre lectureDonnees(FILE *fichier, int *tailleTotale) {
|
||||
int nombreLettresDansFichier;
|
||||
fread(nombreLettresDansFichier, sizeof(int), 1, fichier);
|
||||
fread(&nombreLettresDansFichier, sizeof(int), 1, fichier);
|
||||
fread(tailleTotale, sizeof(int), 1, fichier);
|
||||
|
||||
Entete *entete;
|
||||
|
|
Reference in a new issue