lcms2/workaround-gcc-bug.diff

13 lines
479 B
Diff
Raw Normal View History

--- ./utils/linkicc/linkicc.c.orig 2010-05-19 17:06:01.157118683 +0200
+++ ./utils/linkicc/linkicc.c 2010-05-19 17:08:03.257142292 +0200
@@ -294,7 +294,8 @@
// Ink limiting
if (InkLimit != 400.0) {
- Profiles[nargs++] = cmsCreateInkLimitingDeviceLink(cmsGetColorSpace(Profiles[nargs-1]), InkLimit);
+ Profiles[nargs] = cmsCreateInkLimitingDeviceLink(cmsGetColorSpace(Profiles[nargs]), InkLimit);
+ nargs++;
}
// Set the flags