mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
11 lines
268 B
C
11 lines
268 B
C
--- readpng.c.orig 2005-10-23 21:36:29.000000000 +0200
|
|
+++ readpng.c 2010-03-29 14:14:22.000000000 +0200
|
|
@@ -57,7 +57,7 @@
|
|
fread(header, 1, 8, fp);
|
|
fclose(fp);
|
|
|
|
- return png_check_sig(header, 8);
|
|
+ return !png_sig_cmp(header, 0, 8);
|
|
}
|
|
|
|
static void
|