mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:50:06 +00:00
Fixing color table warning - step should be a long
This commit is contained in:
parent
3625515b8a
commit
e78231ac48
1 changed files with 2 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ void ColorTable::ProcessLine(const std::vector<std::string>& tokenList)
|
||||||
}
|
}
|
||||||
else if (tokenList[0] == "Step:")
|
else if (tokenList[0] == "Step:")
|
||||||
{
|
{
|
||||||
// Step: float
|
// Step: number
|
||||||
p->step_ = std::stof(tokenList[1]);
|
p->step_ = std::stol(tokenList[1]);
|
||||||
}
|
}
|
||||||
else if (tokenList[0] == "RF")
|
else if (tokenList[0] == "RF")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue