WIP: UN BON POINT DE DÉPART POUR CHERCHER D'OÙ VIENT L'ERREUR DE SEGMENTATION

This commit is contained in:
Jean Sirmai 2023-10-19 23:07:36 +02:00
parent 1a8b292cab
commit 6bce5e4588
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ void __attribute__((optimize("no-unroll-loops"))) main_test_graphics (void)
int rand(void); int rand(void);
void srand(unsigned int seed); // printf ("Valeur max : %d\n", RAND_MAX); min + rand() % (max+1 - min); void srand(unsigned int seed); // printf ("Valeur max : %d\n", RAND_MAX); min + rand() % (max+1 - min);
int arbitrary = 8; int arbitrary = 200;
int space_X = 1 + rand() % arbitrary, int space_X = 1 + rand() % arbitrary,
space_Y = 1 + rand() % arbitrary, space_Y = 1 + rand() % arbitrary,
space_Z = 1 + rand() % arbitrary; space_Z = 1 + rand() % arbitrary;