diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-01-13 16:56:23 -0800 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-01-15 10:41:35 +0100 |
commit | 86a2ceeb986609488be1c6794a8e416df3b90c7b (patch) | |
tree | ffe5875e42e23b3bd2424ae66c163665669af917 /src/libexpr/flake/flake.cc | |
parent | 7a472a76d4dcbbd0eb7832c0bdcb120d32881e8b (diff) |
Fix gcc10 build
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index 61aeae543..0786fef3d 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -128,7 +128,7 @@ static FlakeInput parseFlakeInput(EvalState & state, attrs.emplace(attr.name, Explicit<bool> { attr.value->boolean }); break; case nInt: - attrs.emplace(attr.name, attr.value->integer); + attrs.emplace(attr.name, (long unsigned int)attr.value->integer); break; default: throw TypeError("flake input attribute '%s' is %s while a string, Boolean, or integer is expected", |