Explorar el Código

libpng: fix bug on count of files generated

Douglas Andreani hace 5 años
padre
commit
e089a0c504
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libpng/png.c

+ 1 - 1
libpng/png.c

@@ -29,7 +29,7 @@ int main(int argc, char** argv){
 
 	srand48(1000);
 	
-	for (count=0; count<(1000);count++){
+	for (count=0; count<(c);count++){
 
 		for (i=0;i<width;i++){
 			rows[i].p = malloc (height * sizeof(pix));