[devel] Fixed some deprecated usages in the contrib directory.

This commit is contained in:
Glenn Randers-Pehrson
2009-11-09 10:49:12 -06:00
parent 884297323d
commit ec3f949874
8 changed files with 20 additions and 9 deletions

View File

@@ -211,8 +211,8 @@ 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);
if (!ret)
ret = png_sig_cmp (buf, 0, 8);
if (ret)
return FALSE;
/* create png and info structures */