diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-13 20:38:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-13 20:38:37 +0000 |
commit | b71d24c1affe8648963ba5024b62e5dbf4479ae2 (patch) | |
tree | f7768f4484091b2f69905abc09316f3b8279b1d9 /third_party/lcms/src/cmsalpha.c | |
parent | af2ee2cc2e41709df7afc8f49f11ed2e8cf6dedf (diff) | |
download | pdfium-b71d24c1affe8648963ba5024b62e5dbf4479ae2.tar.xz |
Patch lcms to mark data structures as const.chromium/3397
BUG=pdfium:1015
Change-Id: I6b49d4a63fa197b489f6ff2a6920b7e65bb1279d
Reviewed-on: https://pdfium-review.googlesource.com/30672
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'third_party/lcms/src/cmsalpha.c')
-rw-r--r-- | third_party/lcms/src/cmsalpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/lcms/src/cmsalpha.c b/third_party/lcms/src/cmsalpha.c index 7d6aa345f4..566f5fe9b7 100644 --- a/third_party/lcms/src/cmsalpha.c +++ b/third_party/lcms/src/cmsalpha.c @@ -252,7 +252,7 @@ int FormatterPos(cmsUInt32Number frm) static cmsFormatterAlphaFn _cmsGetFormatterAlpha(cmsContext id, cmsUInt32Number in, cmsUInt32Number out) { -static cmsFormatterAlphaFn FormattersAlpha[5][5] = { +static const cmsFormatterAlphaFn FormattersAlpha[5][5] = { /* from 8 */ { copy8, from8to16, from8toHLF, from8toFLT, from8toDBL }, /* from 16*/ { from16to8, copy16, from16toHLF, from16toFLT, from16toDBL }, |