diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-20 08:17:33 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-20 08:17:33 +0900 |
commit | da42a29bd331593ea3021cdb502b8aef65b13138 (patch) | |
tree | 7e13e3aab73b385c679232e12d2047c1216b55e1 /src/gd_security.c | |
parent | 382e22e71adfad4988b5d9f7dc360f465804a28d (diff) | |
download | libgd-da42a29bd331593ea3021cdb502b8aef65b13138.tar.gz |
it should be gd_error_ex
Diffstat (limited to 'src/gd_security.c')
-rw-r--r-- | src/gd_security.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |