Fix gcc10 build

This commit is contained in:
Jonathan Ringer 2021-01-13 16:56:23 -08:00 committed by Eelco Dolstra
parent 7a472a76d4
commit 86a2ceeb98

View file

@ -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",