summaryrefslogtreecommitdiff
blob: 5b817719c7dca24cd2bcb6280b201663a1dceb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg207680.html

--- lib/Xm/Png.c
+++ lib/Xm/Png.c
@@ -144,7 +144,7 @@
     png_bytepp row_pointers = NULL;
 
     fread(sig, 1, 8, infile);
-    if (!png_check_sig(sig, 8))
+    if (png_sig_cmp(sig, 0, 8))
         return 1;               /* bad signature */
 
     png_ptr =