diff options
Diffstat (limited to 'graphics/gd/files')
-rw-r--r-- | graphics/gd/files/patch-gd_png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gd/files/patch-gd_png.c b/graphics/gd/files/patch-gd_png.c index 42c677ae41f3..d0af770b29da 100644 --- a/graphics/gd/files/patch-gd_png.c +++ b/graphics/gd/files/patch-gd_png.c @@ -5,7 +5,7 @@ } - if (!png_check_sig (sig, 8)) { /* bad signature */ -+ if (!png_sig_cmp (sig, 0, 8)) { /* bad signature */ ++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ return NULL; /* bad signature */ } |