it should be gd_error_ex
parent
382e22e71a
commit
da42a29bd3
|
@ -21,7 +21,7 @@
|
||||||
int overflow2(int a, int b)
|
int overflow2(int a, int b)
|
||||||
{
|
{
|
||||||
if(a <= 0 || b <= 0) {
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
if(a > INT_MAX / b) {
|
if(a > INT_MAX / b) {
|
||||||
|
|
Loading…
Reference in New Issue