Fix gcc10 build
This commit is contained in:
parent
7a472a76d4
commit
86a2ceeb98
|
@ -128,7 +128,7 @@ static FlakeInput parseFlakeInput(EvalState & state,
|
||||||
attrs.emplace(attr.name, Explicit<bool> { attr.value->boolean });
|
attrs.emplace(attr.name, Explicit<bool> { attr.value->boolean });
|
||||||
break;
|
break;
|
||||||
case nInt:
|
case nInt:
|
||||||
attrs.emplace(attr.name, attr.value->integer);
|
attrs.emplace(attr.name, (long unsigned int)attr.value->integer);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw TypeError("flake input attribute '%s' is %s while a string, Boolean, or integer is expected",
|
throw TypeError("flake input attribute '%s' is %s while a string, Boolean, or integer is expected",
|
||||||
|
|
Loading…
Reference in a new issue