From 8328b00bbe8660d9265de10daf3c840001260ef4 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 25 Nov 2018 22:30:27 +0100 Subject: Revert "Fix block aligment" This reverts commit c72f900ccc894aa8830ffe500e88aa0afc0ca8a0. --- src/rawblock.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rawblock.nim b/src/rawblock.nim index bf4de28..0a44550 100644 --- a/src/rawblock.nim +++ b/src/rawblock.nim @@ -16,7 +16,7 @@ import integers, bitreader, bitwriter -const maxDataBitLength = ((high(uint16).int - 1) div wordBitLength) * wordBitLength +const maxDataBitLength = high(uint16).int - 1 const bitLengthFieldBitLength = 2 * wordBitLength type RawBlock* = object -- cgit v1.2.3