From 9a1e2232baa20c2c24a8f4556e5891cdad5891df Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 17 Jun 2011 23:40:12 -0500 Subject: [PATCH] [devel] Fix pngvalid.c to compile when SCALE_16 is disabled. --- pngvalid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngvalid.c b/pngvalid.c index 96dba40db..cc675f609 100644 --- a/pngvalid.c +++ b/pngvalid.c @@ -6099,7 +6099,7 @@ gamma_info_imp(gamma_display *dp, png_structp pp, png_infop pi) * PNG_MAX_GAMMA_8 when doing the following. */ if (dp->scale16) -# ifdef PNG_READ_16_TO_8_SUPPORTED +# ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED png_set_scale_16(pp); # else png_error(pp, "scale16 (16 to 8 bit conversion) not supported");