0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.119.135.67


Current Path : /var/www/html/suk_discontinued/libgd-gd-2.2.3/tests/gdimagescale/
Upload File :
Current File : /var/www/html/suk_discontinued/libgd-gd-2.2.3/tests/gdimagescale/github_bug_00218.c

#include "gd.h"
#include "gdtest.h"

int main()
{
	gdImagePtr im, dest;
	int status;

	im = gdImageCreate(5,5);
	dest = gdImageScale(im, 0, 1);
	if (dest != NULL) {
		gdTestErrorMsg("expecting NULL result\n");
		status = 1;
	} else {
		status = 0;
	}
	gdImageDestroy(im);

	return status;
}