unsigne short int -> char

This commit is contained in:
2024-12-20 13:45:44 +01:00
parent 27ddc41eee
commit 9969cede22
7 changed files with 32 additions and 27 deletions

2
read.c
View File

@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
vect *fileToTab2D (const char *name_file, unsigned short int **tab,
vect *fileToTab2D (const char *name_file, char **tab,
const unsigned N, vect *player, int *nbr_targets)
{
vect *targets = malloc (sizeof (vect));