Imported from libpng-1.2.26beta01.tar

This commit is contained in:
Glenn Randers-Pehrson
2008-02-21 13:31:26 -06:00
parent 2296f211e8
commit d8b530b93c
48 changed files with 1059 additions and 144 deletions

View File

@@ -456,7 +456,7 @@ png_malloc_default(png_structp png_ptr, png_uint_32 size)
if (size > (png_uint_32)65536L)
{
#ifndef PNG_USER_MEM_SUPPORTED
if(png_ptr->flags&PNG_FLAG_MALLOC_NULL_MEM_OK) == 0)
if ((png_ptr->flags&PNG_FLAG_MALLOC_NULL_MEM_OK) == 0)
png_error(png_ptr, "Cannot Allocate > 64K");
else
#endif