summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndrey Sobolev <andrey.sobolev@xored.com>2015-09-14 11:51:21 +0600
committerAndrey Sobolev <andrey.sobolev@xored.com>2015-09-14 11:51:21 +0600
commit3be1267cbd1fc0090ba84d5872b105237fb2bb34 (patch)
treef97db568298120e83ff9c6e5d46195ff7e823b07 /lib
parent2f6dc8c47f836b66c1a28fd0b90a9e591b6c9be5 (diff)
downloadNim-3be1267cbd1fc0090ba84d5872b105237fb2bb34.tar.gz
Change TAddress to ByteAddress
Diffstat (limited to 'lib')
-rw-r--r--lib/system/gc_common.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim
index fcf3e62e2..47e8b4b1f 100644
--- a/lib/system/gc_common.nim
+++ b/lib/system/gc_common.nim
@@ -164,9 +164,9 @@ elif stackIncreases:
   proc isOnStack(p: pointer): bool =
     var stackTop {.volatile.}: pointer
     stackTop = addr(stackTop)
-    var a = cast[TAddress](gch.stackBottom)
-    var b = cast[TAddress](stackTop)
-    var x = cast[TAddress](p)
+    var a = cast[ByteAddress](gch.stackBottom)
+    var b = cast[ByteAddress](stackTop)
+    var x = cast[ByteAddress](p)
     result = a <=% x and x <=% b
 
   var