summaryrefslogtreecommitdiff
path: root/third_party/lcms2-2.6/src
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-02-05 14:57:01 -0800
committerOliver Chang <ochang@chromium.org>2016-02-05 14:57:01 -0800
commit5ef071fe48737c9e5d6165825404755ce2c877c9 (patch)
treea482eced91c382dce752b8b9539fd15addedf481 /third_party/lcms2-2.6/src
parent360bc5ffb58e001dc7694967d79b29d54a935337 (diff)
downloadpdfium-5ef071fe48737c9e5d6165825404755ce2c877c9.tar.xz
lcms2: Fix a type confusion.chromium/2645chromium/2644chromium/2643
R=tsepez@chromium.org BUG=584223 Review URL: https://codereview.chromium.org/1672163002 .
Diffstat (limited to 'third_party/lcms2-2.6/src')
-rw-r--r--third_party/lcms2-2.6/src/cmsio0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/lcms2-2.6/src/cmsio0.c b/third_party/lcms2-2.6/src/cmsio0.c
index 6549d15d9e..5f9f08a6f8 100644
--- a/third_party/lcms2-2.6/src/cmsio0.c
+++ b/third_party/lcms2-2.6/src/cmsio0.c
@@ -719,7 +719,8 @@ cmsBool _cmsReadHeader(_cmsICCPROFILE* Icc)
for (j=0; j < Icc ->TagCount; j++) {
if ((Icc ->TagOffsets[j] == Tag.offset) &&
- (Icc ->TagSizes[j] == Tag.size)) {
+ (Icc ->TagSizes[j] == Tag.size) &&
+ (Icc ->TagNames[j] == Tag.sig)) {
Icc ->TagLinked[Icc ->TagCount] = Icc ->TagNames[j];
}