summaryrefslogtreecommitdiff
path: root/src/cmsxform.c
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2020-10-01 18:06:34 +0200
committerMarti Maria <marti.maria@littlecms.com>2020-10-01 18:06:34 +0200
commit33848b63af5616527c8b395117d9d055954320ca (patch)
treeff77090ccfe05ff97c1ff168be907235a07d95e9 /src/cmsxform.c
parentd387d03103911d20582f1d9548d89738c993c4b8 (diff)
downloadlcms2-33848b63af5616527c8b395117d9d055954320ca.tar.gz
cosmetic changes
to make codeQL happy
Diffstat (limited to 'src/cmsxform.c')
-rw-r--r--src/cmsxform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsxform.c b/src/cmsxform.c
index 5a90306..080fc2b 100644
--- a/src/cmsxform.c
+++ b/src/cmsxform.c
@@ -447,7 +447,7 @@ void TransformOnePixelWithGamutCheck(_cmsTRANSFORM* p,
p ->GamutCheck ->Eval16Fn(wIn, &wOutOfGamut, p ->GamutCheck ->Data);
if (wOutOfGamut >= 1) {
- cmsUInt16Number i;
+ cmsUInt32Number i;
_cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(p->ContextID, AlarmCodesContext);
for (i=0; i < p ->Lut->OutputChannels; i++) {