diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-08-16 22:49:58 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-08-16 22:49:58 -0500 |
commit | 8ba4b13c550cfaa93360d0d115a2687a43f37cd6 (patch) | |
tree | 7a203aed8c3b6c157d9855cb292e5e56b69847f5 /pngrtran.c | |
parent | 8b83ff37049cf836f46b465005bb064d76d1876b (diff) | |
download | libpng-8ba4b13c550cfaa93360d0d115a2687a43f37cd6.tar.gz |
[libpng16] Changed 0xnnnn constants to 0xnnnnUL.
Diffstat (limited to 'pngrtran.c')
-rw-r--r-- | pngrtran.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pngrtran.c b/pngrtran.c index 6406c04f2..ad25dc86f 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -3642,7 +3642,7 @@ png_do_compose(png_row_infop row_info, png_bytep row, png_structrp png_ptr) png_uint_16 a = (png_uint_16)(((*(sp + 2)) << 8) + *(sp + 3)); - if (a == (png_uint_16)0xffff) + if (a == (png_uint_16)0xffffL) { png_uint_16 v; @@ -3691,7 +3691,7 @@ png_do_compose(png_row_infop row_info, png_bytep row, png_structrp png_ptr) *(sp + 1) = (png_byte)(png_ptr->background.gray & 0xff); } - else if (a < 0xffff) + else if (a < 0xffffL) { png_uint_16 g, v; @@ -3795,7 +3795,7 @@ png_do_compose(png_row_infop row_info, png_bytep row, png_structrp png_ptr) png_uint_16 a = (png_uint_16)(((png_uint_16)(*(sp + 6)) << 8) + (png_uint_16)(*(sp + 7))); - if (a == (png_uint_16)0xffff) + if (a == (png_uint_16)0xffffL) { png_uint_16 v; @@ -3881,7 +3881,7 @@ png_do_compose(png_row_infop row_info, png_bytep row, png_structrp png_ptr) *(sp + 5) = (png_byte)(png_ptr->background.blue & 0xff); } - else if (a < 0xffff) + else if (a < 0xffffL) { png_uint_16 v; |