diff options
-rw-r--r-- | lib/genode/alloc.nim | 2 | ||||
-rw-r--r-- | lib/system.nim | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/lib/system.nim b/lib/system.nim index 6b07b2cf4..722b70d79 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2057,7 +2057,7 @@ elif defined(genode): importcpp: "#->parent().exit(@); Genode::sleep_forever()", header: "<base/sleep.h>".} proc quit*(errorcode: int = QuitSuccess) = - systemEnv.quit(errorCode) + systemEnv.quit(errorcode) |