make tests green again

This commit is contained in:
Araq 2017-11-01 00:20:40 +01:00
commit 3174cfe55c
6 changed files with 14 additions and 13 deletions

View file

@ -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