diff --git a/src/gd_security.c b/src/gd_security.c index 4123794..0051ebf 100644 --- a/src/gd_security.c +++ b/src/gd_security.c @@ -21,7 +21,7 @@ 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) {