From 21939d36ec1c9504cd68f7fb314cd1d6909c2b0f Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 29 Apr 2016 21:48:52 -0500 Subject: [PATCH] [libpng16] Use PNG_UINT_31_MAX instead of constant 0x7fffffff in timepng.c --- contrib/libtests/timepng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libtests/timepng.c b/contrib/libtests/timepng.c index d648ff630..4073ab6ef 100644 --- a/contrib/libtests/timepng.c +++ b/contrib/libtests/timepng.c @@ -397,7 +397,7 @@ int main(int argc, char **argv) #ifdef __COVERITY__ else { - nfiles &= 0x7fffffff; + nfiles &= PNG_UINT_31_MAX; } #endif