summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r--compiler/cgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 1f4980385..0585a2be0 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -111,7 +111,7 @@ proc cgFormatValue(result: var string; value: string): void =
   result.add value
 
 proc cgFormatValue(result: var string; value: BiggestInt): void =
-  result.add value
+  result.addInt value
 
 # TODO: please document
 macro ropecg(m: BModule, frmt: static[FormatStr], args: untyped): Rope =