Skip to content

Commit cdf6eed

Browse files
committed
Fixed build
1 parent 77ffeea commit cdf6eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Common/Helpers/SimdUtils.HwIntrinsics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public static void Shuffle4Slice3Reduce(
194194
{
195195
if (Ssse3.IsSupported)
196196
{
197-
int remainder = source.Length & (Vector128<byte>.Count * 4 - 1); // bit-hack for modulo
197+
int remainder = source.Length & ((Vector128<byte>.Count * 4) - 1); // bit-hack for modulo
198198

199199
int sourceCount = source.Length - remainder;
200200
int destCount = (int)((uint)sourceCount * 3 / 4);

0 commit comments

Comments
 (0)