about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-07T13·37+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-07T13·37+0100
commit9aac1861f7c25d34212235bfd86f71312904e29e (patch)
tree1dc751f6cee0d52eb42fbe58000eaeddf950b400 /src/libexpr/primops.cc
parent94595f42eb829771ed5f757cb71d8830f10a4ef3 (diff)
Fix some signedness warnings
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 5a1f47b55e..87ee4f68a9 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -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);