diff --git a/src/cmsxform.c b/src/cmsxform.c index 7219c8b9..89b68b6d 100644 --- a/src/cmsxform.c +++ b/src/cmsxform.c @@ -297,7 +297,7 @@ void FloatXFORM(_cmsTRANSFORM* p, // Certainly, out of gamut for (c = 0; c < cmsMAXCHANNELS; c++) - fOut[c] = ContextAlarmCodes->AlarmCodes[c] / 65535.0; + fOut[c] = (cmsFloat32Number) (ContextAlarmCodes->AlarmCodes[c] / 65535.0); } else {