From: Marius Gavrilescu Date: Sat, 9 Jun 2018 17:43:42 +0000 (+0300) Subject: Fix XS X-Git-Tag: 0.001~2 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=beb05fe52775b46d7af59ef19f6ba7161c988793;p=digest-highwayhash.git Fix XS --- diff --git a/HighwayHash.xs b/HighwayHash.xs index 28ba7a2..3761300 100644 --- a/HighwayHash.xs +++ b/HighwayHash.xs @@ -48,7 +48,7 @@ AV* highway_hash256(AV *key_av, char *bytes, uint64_t size) { dTHX; AV* result; uint64_t key[4]; - uint64_t hash[2]; + uint64_t hash[4]; process_key(aTHX_ key_av, key); HighwayHash256(bytes, size, key, hash); result = newAV();