aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-01-13 16:56:23 -0800
committerEelco Dolstra <edolstra@gmail.com>2021-01-15 10:41:35 +0100
commit86a2ceeb986609488be1c6794a8e416df3b90c7b (patch)
treeffe5875e42e23b3bd2424ae66c163665669af917 /src
parent7a472a76d4dcbbd0eb7832c0bdcb120d32881e8b (diff)
Fix gcc10 build
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/flake/flake.cc2
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",