From da42a29bd331593ea3021cdb502b8aef65b13138 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 20 Apr 2013 08:17:33 +0900 Subject: [PATCH] it should be gd_error_ex --- src/gd_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {