Fix gcc10 build
This commit is contained in:
parent
7a472a76d4
commit
86a2ceeb98
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue