Fix gcc10 build

This commit is contained in:
Jonathan Ringer
2021-01-15 10:41:35 +01:00
committed by Eelco Dolstra
parent 7a472a76d4
commit 86a2ceeb98
+1 -1
View File
@@ -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",