Cleanup: conversion warning

This commit is contained in:
Campbell Barton 2021-05-21 15:45:23 +10:00
parent a43c7538b8
commit 6c6551c398
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ static void wavelength_to_xyz(float xyz[3], float lambda_nm)
xyz[2] = 0.0f;
}
else {
ii -= i;
ii -= (float)i;
const float *c = cie_colour_match[i];
xyz[0] = c[0] + ii * (c[3] - c[0]);
xyz[1] = c[1] + ii * (c[4] - c[1]);