Commits

Takeshi Abe committed da42a29

it should be gd_error_ex

  • Participants
  • Parent commits 382e22e

Comments (0)

Files changed (1)

File src/gd_security.c

 int overflow2(int a, int b)
 {
 	if(a <= 0 || b <= 0) {
-		gd_error(GD_WARNING, "one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n");
+		gd_error_ex(GD_WARNING, "one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n");
 		return 1;
 	}
 	if(a > INT_MAX / b) {