diff options
| author | Bernard Xiong <[email protected]> | 2014-12-24 18:22:42 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-12-24 18:22:42 +0800 |
| commit | 188b64203b081fc6786249b3f2e1ee30ff2e9c30 (patch) | |
| tree | 1173bad10d1ddcf42b029c5539d0ccf4f040a200 | |
| parent | 0338388090577c43b56f6219f459ba5535d62787 (diff) | |
| parent | 9944a1b69c71028e6d8d1d3fc77fb1ea0eb7b466 (diff) | |
Merge pull request #399 from grissiom/const-data
lodepng: make the crc32 LUT const
| -rw-r--r-- | components/external/lodepng/lodepng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/external/lodepng/lodepng.c b/components/external/lodepng/lodepng.c index dff9ad79e2..e9c440eb76 100644 --- a/components/external/lodepng/lodepng.c +++ b/components/external/lodepng/lodepng.c @@ -2267,7 +2267,7 @@ const LodePNGDecompressSettings lodepng_default_decompress_settings = {0, 0, 0, /* ////////////////////////////////////////////////////////////////////////// */ /* CRC polynomial: 0xedb88320 */ -static unsigned lodepng_crc32_table[256] = { +static unsigned const lodepng_crc32_table[256] = { 0u, 1996959894u, 3993919788u, 2567524794u, 124634137u, 1886057615u, 3915621685u, 2657392035u, 249268274u, 2044508324u, 3772115230u, 2547177864u, 162941995u, 2125561021u, 3887607047u, 2428444049u, 498536548u, 1789927666u, 4089016648u, 2227061214u, 450548861u, 1843258603u, 4107580753u, 2211677639u, |
