summaryrefslogtreecommitdiff
path: root/src/cmssm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmssm.c')
-rw-r--r--src/cmssm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmssm.c b/src/cmssm.c
index fbd8af3..139b952 100644
--- a/src/cmssm.c
+++ b/src/cmssm.c
@@ -567,7 +567,7 @@ cmsBool CMSEXPORT cmsGDBCompute(cmsHANDLE hGBD, cmsUInt32Number dwFlags)
// Interpolate Mid
for (theta = 1; theta < SECTORS; theta++) {
- for (alpha = 0; alpha <= SECTORS; alpha++) {
+ for (alpha = 0; alpha < SECTORS; alpha++) {
if (!InterpolateMissingSector(gbd, alpha, theta)) return FALSE;
}