[master] Fixed deprecated usages in contrib directory.

This commit is contained in:
Glenn Randers-Pehrson
2009-11-09 10:47:12 -06:00
parent 3130af0e2b
commit 7aacd895ee
6 changed files with 13 additions and 6 deletions

View File

@@ -211,7 +211,7 @@ BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL a
if (ret != 8)
return FALSE;
ret = png_check_sig (buf, 8);
ret = !png_sig_cmp (buf, 0, 8);
if (!ret)
return FALSE;