Use long in fromTOML
This commit is contained in:
parent
10a8b5d3ae
commit
5d06836b9f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ static void prim_fromTOML(EvalState & state, const Pos & pos, Value * * args, Va
|
||||||
mkBool(v, toml::get<bool>(t));
|
mkBool(v, toml::get<bool>(t));
|
||||||
break;;
|
break;;
|
||||||
case toml::value_t::integer:
|
case toml::value_t::integer:
|
||||||
mkInt(v, toml::get<int>(t));
|
mkInt(v, toml::get<long>(t));
|
||||||
break;;
|
break;;
|
||||||
case toml::value_t::floating:
|
case toml::value_t::floating:
|
||||||
mkFloat(v, toml::get<double>(t));
|
mkFloat(v, toml::get<double>(t));
|
||||||
|
|
Loading…
Reference in a new issue