Fixing color table warning - step should be a long

This commit is contained in:
Dan Paulat 2021-11-12 00:02:21 -06:00
parent 3625515b8a
commit e78231ac48

View file

@ -195,8 +195,8 @@ void ColorTable::ProcessLine(const std::vector<std::string>& tokenList)
}
else if (tokenList[0] == "Step:")
{
// Step: float
p->step_ = std::stof(tokenList[1]);
// Step: number
p->step_ = std::stol(tokenList[1]);
}
else if (tokenList[0] == "RF")
{