diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-09-05 16:07:39 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-09-05 16:07:39 +0200 |
commit | beb18188a206a433aea6e63872b18ef67c7120bc (patch) | |
tree | db8c4eb92b7cf551cd934c95a5af95f220878fd7 | |
parent | 86886fd88017bcc72df3a8b524f5ef4948b7dad4 (diff) | |
download | libgd-beb18188a206a433aea6e63872b18ef67c7120bc.tar.gz |
Stricter typing in test case
This avoids the compiler complaining about a pointer to int conversion.
-rw-r--r-- | tests/png/bug00338.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |