Cast to int; value is bounded by NumValues
This commit is contained in:
parent
9b349765dc
commit
4d52ce955f
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ Curve Curve::buildCurveFromHeader(
|
||||||
if (!valueOpt)
|
if (!valueOpt)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
setPoint(index, *valueOpt);
|
setPoint(static_cast<int>(index), *valueOpt);
|
||||||
}
|
}
|
||||||
|
|
||||||
curve.fill(itp, fillStatus);
|
curve.fill(itp, fillStatus);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue