From b4a5d88e0a55e5f3b9de235449d543b588c86268 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 20 Nov 2010 18:01:52 -0600 Subject: [PATCH] [master] Updated png_get_uint_32 like the others (i -> val). --- pngrutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pngrutil.c b/pngrutil.c index 03bb1c494..001927aac 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -23,11 +23,11 @@ png_uint_32 PNGAPI png_get_uint_31(png_structp png_ptr, png_bytep buf) { - png_uint_32 i = png_get_uint_32(buf); + png_uint_32 val = png_get_uint_32(buf); if (val > PNG_UINT_31_MAX) png_error(png_ptr, "PNG unsigned integer out of range"); - return (i); + return (val); } #ifndef PNG_USE_READ_MACROS