[libpng17] Reverted 12 -> 12U again.

This commit is contained in:
Glenn Randers-Pehrson 2015-11-22 22:41:10 -06:00
parent 771eb7d01e
commit e51652b4db

View File

@ -1948,7 +1948,7 @@ png_handle_pCAL(png_structrp png_ptr, png_inforp info_ptr)
/* 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_chunk_benign_error(png_ptr, "invalid");
return;