diff options
-rw-r--r-- | attract.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ int main(int argc,char **argv){ printf("midy = %lf\n",cfg.midy); printf("exponent = %lf\n",cfg.exponent); - unsigned char img[cfg.width*cfg.height*3]; + unsigned char *img=malloc(cfg.width*cfg.height*3); int nthreads=sysconf(_SC_NPROCESSORS_ONLN); if(nthreads==4)nthreads/=2; |