Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: third_party/lcms2-2.6/0000-tag-type-confusion.patch

Issue 1672163002: lcms2: Fix a type confusion. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/lcms2-2.6/README.pdfium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/lcms2-2.6/src/cmsio0.c b/third_party/lcms2-2.6/src/cmsi o0.c
2 index 6549d15..5f9f08a 100644
3 --- a/third_party/lcms2-2.6/src/cmsio0.c
4 +++ b/third_party/lcms2-2.6/src/cmsio0.c
5 @@ -719,7 +719,8 @@ cmsBool _cmsReadHeader(_cmsICCPROFILE* Icc)
6 for (j=0; j < Icc ->TagCount; j++) {
7
8 if ((Icc ->TagOffsets[j] == Tag.offset) &&
9 - (Icc ->TagSizes[j] == Tag.size)) {
10 + (Icc ->TagSizes[j] == Tag.size) &&
11 + (Icc ->TagNames[j] == Tag.sig)) {
12
13 Icc ->TagLinked[Icc ->TagCount] = Icc ->TagNames[j];
14 }
OLDNEW
« no previous file with comments | « no previous file | third_party/lcms2-2.6/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698