Browse Source

Fix updated struct name

af/merge-core
James Jackson-South 8 years ago
parent
commit
a96bcc63aa
  1. 4
      src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/FixedUInt32Buffer18.cs

4
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/FixedInt64Buffer18.cs → src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/FixedUInt32Buffer18.cs

@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal unsafe struct FixedInt64Buffer18 internal unsafe struct FixedUInt32Buffer18
{ {
public fixed uint Data[18]; public fixed uint Data[18];
@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
get get
{ {
ref uint self = ref Unsafe.As<FixedInt64Buffer18, uint>(ref this); ref uint self = ref Unsafe.As<FixedUInt32Buffer18, uint>(ref this);
return Unsafe.Add(ref self, idx); return Unsafe.Add(ref self, idx);
} }
} }
Loading…
Cancel
Save