diff --git a/shared-infrastructure b/shared-infrastructure index 847a4e4c8..9b94ebc4b 160000 --- a/shared-infrastructure +++ b/shared-infrastructure @@ -1 +1 @@ -Subproject commit 847a4e4c8443fabafdd5c0a5fcf5fc3a32ab1f73 +Subproject commit 9b94ebc4be9b7a8d7620c257e6ee485455973332 diff --git a/src/ImageSharp/Formats/Jpeg/Components/Block8x8F.cs b/src/ImageSharp/Formats/Jpeg/Components/Block8x8F.cs index 4cf8be44f..d55dfced7 100644 --- a/src/ImageSharp/Formats/Jpeg/Components/Block8x8F.cs +++ b/src/ImageSharp/Formats/Jpeg/Components/Block8x8F.cs @@ -845,7 +845,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components var targetVector = Vector256.Create(value); ref Vector256 blockStride = ref this.V0; - for (nint i = 0; i < RowCount; i++) + for (int i = 0; i < RowCount; i++) { Vector256 areEqual = Avx2.CompareEqual(Avx.ConvertToVector256Int32WithTruncation(Unsafe.Add(ref this.V0, i)), targetVector); if (Avx2.MoveMask(areEqual.AsByte()) != equalityMask) @@ -860,7 +860,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components { ref float scalars = ref Unsafe.As(ref this); - for (nint i = 0; i < Size; i++) + for (int i = 0; i < Size; i++) { if ((int)Unsafe.Add(ref scalars, i) != value) {