summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/png/bug00338.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/png/bug00338.c b/tests/png/bug00338.c
index cf58674..779180f 100644
--- a/tests/png/bug00338.c
+++ b/tests/png/bug00338.c
@@ -34,7 +34,7 @@ int main()
im = gdImageCreateTrueColor(10, 10);
fp = gdTestTempFp();
- gdTestAssert(f[]);
+ gdTestAssert(fp);
if (!fp) {
exit(2);
}