summary refs log tree commit diff stats
path: root/lib/genode/alloc.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-14 16:08:15 +0200
committerAraq <rumpf_a@web.de>2019-07-14 16:08:15 +0200
commitfab70e4fe3b9e1fd20a333f17b667c7a85a835fb (patch)
tree29060e92290087812ce7583fde355179784fa2e4 /lib/genode/alloc.nim
parent44c12d9d206a98e6f92066a7a6cde1a181883bf8 (diff)
downloadNim-fab70e4fe3b9e1fd20a333f17b667c7a85a835fb.tar.gz
minor update for the genode target
Diffstat (limited to 'lib/genode/alloc.nim')
-rw-r--r--lib/genode/alloc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/genode/alloc.nim b/lib/genode/alloc.nim
index 52dc1c32c..a21a3ad7b 100644
--- a/lib/genode/alloc.nim
+++ b/lib/genode/alloc.nim
@@ -70,7 +70,7 @@ proc newMapSlab(): ptr MapSlab =
 
 iterator items(s: ptr MapSlab): ptr Map =
   let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map)
-  for i in 0 .. <mapCount:
+  for i in 0 ..< mapCount:
     yield s.maps[i].addr
 
 var slabs: ptr MapSlab