From: Dan Nelson Date: Sat, 15 May 2021 15:20:37 +0000 (-0500) Subject: ZSTD_VecMask_next: fix incorrect variable name in fallback code path X-Git-Tag: v1.5.1~1^2~171^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2657%2Fhead;p=thirdparty%2Fzstd.git ZSTD_VecMask_next: fix incorrect variable name in fallback code path --- diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c index 0c4b49e4d..fea4686f0 100644 --- a/lib/compress/zstd_lazy.c +++ b/lib/compress/zstd_lazy.c @@ -1081,7 +1081,7 @@ static U32 ZSTD_VecMask_next(ZSTD_VecMask val) { 0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9 }; - return multiplyDeBruijnBitPosition[((U32)((v & -(int)v) * 0x077CB531U)) >> 27]; + return multiplyDeBruijnBitPosition[((U32)((val & -(int)val) * 0x077CB531U)) >> 27]; # endif }