1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Fix some signedness warnings

This commit is contained in:
Eelco Dolstra 2016-01-07 14:37:39 +01:00
parent 94595f42eb
commit 9aac1861f7
2 changed files with 2 additions and 2 deletions

View file

@ -1374,7 +1374,7 @@ static void prim_genList(EvalState & state, const Pos & pos, Value * * args, Val
state.mkList(v, len);
for (unsigned int n = 0; n < len; ++n) {
for (unsigned int n = 0; n < (unsigned int) len; ++n) {
Value * arg = state.allocValue();
mkInt(*arg, n);
mkApp(*(v.listElems()[n] = state.allocValue()), *args[0], *arg);