summary refs log tree commit diff stats
path: root/compiler/astalgo.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/astalgo.nim')
-rw-r--r--compiler/astalgo.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim
index 280022780..c1df74a3f 100644
--- a/compiler/astalgo.nim
+++ b/compiler/astalgo.nim
@@ -425,7 +425,7 @@ proc value(this: var DebugPrinter; value: string) =
 proc value(this: var DebugPrinter; value: BiggestInt) =
   if this.useColor:
     this.res.add numberStyle
-  this.res.add value
+  this.res.addInt value
   if this.useColor:
     this.res.add resetStyle
 
@@ -460,7 +460,7 @@ template earlyExit(this: var DebugPrinter; n: PType | PNode | PSym) =
     if this.useColor:
       this.res.add backrefStyle
     this.res.add "<defined "
-    this.res.add(this.currentLine - index)
+    this.res.addInt(this.currentLine - index)
     this.res.add " lines upwards>"
     if this.useColor:
       this.res.add resetStyle