it should be gd_error_ex

master
Takeshi Abe 2013-04-20 08:17:33 +09:00
parent 382e22e71a
commit da42a29bd3
1 changed files with 1 additions and 1 deletions

View File

@ -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) {