summaryrefslogtreecommitdiff
path: root/pngvcrd.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2007-05-18 13:40:59 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:12:58 -0500
commit4d27f6b77b47a719c52e9b855ef78c0f619e8eee (patch)
treec369631a78f2f38286afd435bc32e1f7e9c22b30 /pngvcrd.c
parent413ed2824658e4ee850fb2543973b3c221f7f006 (diff)
downloadlibpng-4d27f6b77b47a719c52e9b855ef78c0f619e8eee.tar.gz
Imported from libpng-1.2.19beta1.tarv1.2.19beta1
Diffstat (limited to 'pngvcrd.c')
-rw-r--r--pngvcrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngvcrd.c b/pngvcrd.c
index d1c6405e5..5268fcf61 100644
--- a/pngvcrd.c
+++ b/pngvcrd.c
@@ -110,7 +110,7 @@ void /* PRIVATE */
png_combine_row(png_structp png_ptr, png_bytep row, int mask)
{
#ifdef PNG_USE_LOCAL_ARRAYS
- const int png_pass_inc[7] = {8, 8, 4, 4, 2, 2, 1};
+ PNG_CONST int png_pass_inc[7] = {8, 8, 4, 4, 2, 2, 1};
#endif
png_debug(1,"in png_combine_row_asm\n");
@@ -1005,7 +1005,7 @@ png_do_read_interlace(png_structp png_ptr)
int pass = png_ptr->pass;
png_uint_32 transformations = png_ptr->transformations;
#ifdef PNG_USE_LOCAL_ARRAYS
- const int png_pass_inc[7] = {8, 8, 4, 4, 2, 2, 1};
+ PNG_CONST int png_pass_inc[7] = {8, 8, 4, 4, 2, 2, 1};
#endif
png_debug(1,"in png_do_read_interlace\n");