diff options
Diffstat (limited to 'lib/system/gc2.nim')
-rw-r--r-- | lib/system/gc2.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc2.nim b/lib/system/gc2.nim index 70bed8740..4ecf3b226 100644 --- a/lib/system/gc2.nim +++ b/lib/system/gc2.nim @@ -173,7 +173,7 @@ proc internRefcount(p: pointer): int {.exportc: "getRefcount".} = when BitsPerPage mod (sizeof(int)*8) != 0: {.error: "(BitsPerPage mod BitsPerUnit) should be zero!".} -template color(c): expr = c.refCount and colorMask +template color(c): untyped = c.refCount and colorMask template setColor(c, col) = c.refcount = c.refcount and not colorMask or col |