hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 946d4051a0a8c66d6dbf9721cb894c4f6b1397db
parent 73647c00b26774d960e65fee9b502440904d4aed
Author: Kiëd Llaentenn <kiedtl@tilde.team>
Date:   Wed, 28 Apr 2021 21:12:22 +0000

hash::crc32: Use SIZE constant when initialising new crc32 hash struct

Signed-off-by: Kiëd Llaentenn <kiedtl@tilde.team>

Diffstat:
Mhash/crc32/crc32.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hash/crc32/crc32.ha b/hash/crc32/crc32.ha @@ -199,7 +199,7 @@ export fn crc32(table: *[256]u32) *hash::hash = alloc(state { }, sum = &sum, reset = &reset, - sz = 4, + sz = SIZE, }, table = table, cval = ~0u32,