--- ray/src/util/evalglare.c 2025/09/15 20:21:24 3.06 +++ ray/src/util/evalglare.c 2025/09/16 15:43:14 3.07 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: evalglare.c,v 3.06 2025/09/15 20:21:24 greg Exp $"; +static const char RCSid[] = "$Id: evalglare.c,v 3.07 2025/09/16 15:43:14 greg Exp $"; #endif /* EVALGLARE V3.05 * Evalglare Software License, Version 3.0x @@ -1557,6 +1557,7 @@ int main(int argc, char **argv) char** temp_image_name; int *x_temp_img, *y_temp_img; double *scale_image_scans; + int *new_gs_number = NULL; VIEW userview = STDVIEW; int gotuserview = 0; @@ -3077,7 +3078,7 @@ if (calcfast ==1 || search_pix <= 1.0 || calcfast == 2 } -int new_gs_number[igs+1]; +new_gs_number = (int *)malloc(sizeof(int)*(igs+1)); i = 0; for (x = 0; x <= igs; x++) {