diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-08-19T10·35+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-08-19T10·35+0200 |
commit | d308aeaf53b7324af98dfa949a747526c241ef30 (patch) | |
tree | acae7f07b45d26007e8a6bbc3d6c8bfa1bf5e34c /src/libexpr/eval.hh | |
parent | 297b762513ad416582c0850095506f802ff5b1bb (diff) |
Store Nix integers as longs
So on 64-bit systems, integers are now 64-bit. Fixes #158.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 5e98f5404b22..9717fb66d95d 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -159,7 +159,7 @@ public: void strictForceValue(Value & v); /* Force `v', and then verify that it has the expected type. */ - int forceInt(Value & v); + NixInt forceInt(Value & v); bool forceBool(Value & v); inline void forceAttrs(Value & v); inline void forceList(Value & v); |