Commits

Pierre Joye committed 3cc4314

fix test, keep ANSI C pls

Comments (0)

Files changed (1)

tests/gdimagerotate/bug00067.c

 	const char *file_exp = "gdimagerotate/bug00067";
 	FILE *fp;
 	int color;
+	int error = 0;
+	int angle;
 
 	sprintf(path, "%s/%s", GDTEST_TOP_DIR, file_im);
 
 		return 1;
 	}
 
-	int error = 0;
-
-	for (int angle = 0; angle <= 180; angle += 15) {
+	for (angle = 0; angle <= 180; angle += 15) {
 
 		exp = gdImageRotateInterpolated(im, angle, color);