From 3be1267cbd1fc0090ba84d5872b105237fb2bb34 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Mon, 14 Sep 2015 11:51:21 +0600 Subject: [PATCH] Change TAddress to ByteAddress --- lib/system/gc_common.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim index fcf3e62e25..47e8b4b1f7 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