This commit is contained in:
cyjullien1
2024-12-12 13:09:58 +01:00
9 changed files with 68 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ unsigned short int **creatArea2D(const unsigned int N)
}
bool fail = false;
int i;
unsigned int i;
for (i = 0; i < N && !fail; ++i)
{
tab2d[i] = calloc(N, sizeof(unsigned short int));
@@ -27,7 +27,7 @@ unsigned short int **creatArea2D(const unsigned int N)
if (fail)
{
int j;
unsigned int j;
for (j = 0; j < i; ++j)
{
free(tab2d[j]);