diff --git a/X10D/src/Core/SpanExtensions.cs b/X10D/src/Core/SpanExtensions.cs index f883a18..d200b17 100644 --- a/X10D/src/Core/SpanExtensions.cs +++ b/X10D/src/Core/SpanExtensions.cs @@ -179,7 +179,7 @@ public static class SpanExtensions if (Sse2.IsSupported) { - var load = Sse2.LoadScalarVector128((ulong*)pSource).AsByte(); + Vector128 load = Sse2.LoadScalarVector128((ulong*)pSource).AsByte(); return unchecked((byte)(IntegerPackingMagic * load.CorrectBoolean().AsUInt64().GetElement(0) >> 56)); } @@ -190,7 +190,7 @@ public static class SpanExtensions if (AdvSimd.IsSupported) { // Hasn't been tested since March 6th 2023 (Reason: Unavailable hardware). - var load = AdvSimd.LoadVector64((byte*)pSource); + Vector64 load = AdvSimd.LoadVector64((byte*)pSource); return unchecked((byte)(IntegerPackingMagic * load.CorrectBoolean().AsUInt64().GetElement(0) >> 56)); }