summary refs log tree commit diff stats
path: root/tests/misc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-11-01 00:20:40 +0100
committerAraq <rumpf_a@web.de>2017-11-01 00:20:40 +0100
commit3174cfe55c6da6c83dfe83667744ccd8acb7a1ce (patch)
treefc1a2837a6746c0a7a906d66ecfc1f4416a88c6a /tests/misc
parent00898dae7a7c0ba7abf644c862b5e7760b216395 (diff)
downloadNim-3174cfe55c6da6c83dfe83667744ccd8acb7a1ce.tar.gz
make tests green again
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/tvarnums.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tvarnums.nim b/tests/misc/tvarnums.nim
index a5c30c7eb..5daa2c4b8 100644
--- a/tests/misc/tvarnums.nim
+++ b/tests/misc/tvarnums.nim
@@ -67,7 +67,7 @@ proc toNum64(b: TBuffer): int64 =
 
 proc toNum(b: TBuffer): int32 =
   # treat first byte different:
-  result = ze(b[0]) and 63
+  result = int32 ze(b[0]) and 63
   var
     i = 0
     Shift = 6'i32