From beb18188a206a433aea6e63872b18ef67c7120bc Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 5 Sep 2021 16:07:39 +0200 Subject: Stricter typing in test case This avoids the compiler complaining about a pointer to int conversion. --- tests/png/bug00338.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/png/bug00338.c b/tests/png/bug00338.c index 779180f..479a864 100644 --- a/tests/png/bug00338.c +++ b/tests/png/bug00338.c @@ -34,7 +34,7 @@ int main() im = gdImageCreateTrueColor(10, 10); fp = gdTestTempFp(); - gdTestAssert(fp); + gdTestAssert(fp != NULL); if (!fp) { exit(2); } -- cgit v1.2.1