mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Updated png_get_uint_32 like the others (i -> val).
This commit is contained in:
parent
7ea0b3b9e2
commit
b4a5d88e0a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user