mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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));
|
||||
break;;
|
||||
case toml::value_t::integer:
|
||||
mkInt(v, toml::get<int>(t));
|
||||
mkInt(v, toml::get<long>(t));
|
||||
break;;
|
||||
case toml::value_t::floating:
|
||||
mkFloat(v, toml::get<double>(t));
|
||||
|
|
Loading…
Reference in a new issue