[libpng16] Changed integer constant 4294967294 to unsigned 4294967294U in pngconf.h

to avoid a signed/unsigned compare in the preprocessor.
This commit is contained in:
Glenn Randers-Pehrson
2016-10-05 09:23:08 -05:00
parent b3540f9932
commit 7d7694ae6a
3 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.6.26beta05, October 3, 2016
* libpng version 1.6.26beta05, October 5, 2016
*
* Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -507,9 +507,9 @@
# error "libpng requires a signed 32-bit (or more) type"
#endif
#if UINT_MAX > 4294967294
#if UINT_MAX > 4294967294U
typedef unsigned int png_uint_32;
#elif ULONG_MAX > 4294967294
#elif ULONG_MAX > 4294967294U
typedef unsigned long int png_uint_32;
#else
# error "libpng requires an unsigned 32-bit (or more) type"