diff options
author | Araq <rumpf_a@web.de> | 2019-07-14 16:08:15 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-07-14 16:08:15 +0200 |
commit | fab70e4fe3b9e1fd20a333f17b667c7a85a835fb (patch) | |
tree | 29060e92290087812ce7583fde355179784fa2e4 /lib/genode/alloc.nim | |
parent | 44c12d9d206a98e6f92066a7a6cde1a181883bf8 (diff) | |
download | Nim-fab70e4fe3b9e1fd20a333f17b667c7a85a835fb.tar.gz |
minor update for the genode target
Diffstat (limited to 'lib/genode/alloc.nim')
-rw-r--r-- | lib/genode/alloc.nim | 2 |
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 |