[lbpng15] Revert 12 -> 12U change in pngrutil.c

This commit is contained in:
Glenn Randers-Pehrson 2015-11-22 22:59:16 -06:00
parent 596f052d69
commit 3ccfba8c28

View File

@ -2006,7 +2006,7 @@ png_handle_pCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
/* We need to have at least 12 bytes after the purpose string
* in order to get the parameter information.
*/
if (endptr - buf <= 12U)
if (endptr - buf <= 12)
{
png_warning(png_ptr, "Invalid pCAL data");
png_free(png_ptr, png_ptr->chunkdata);