File tree 2 files changed +2
-2
lines changed
src/ImageSharp/Formats/Ani
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ namespace SixLabors.ImageSharp.Formats.Ani;
21
21
22
22
internal class AniDecoderCore ( DecoderOptions options ) : ImageDecoderCore ( options )
23
23
{
24
- private enum ListIconChunkType
24
+ private enum ListIconChunkType : byte
25
25
{
26
26
Ico = 1 ,
27
27
Cur = 2 ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ internal readonly struct AniHeader
28
28
29
29
public static ref AniHeader Parse ( ReadOnlySpan < byte > data ) => ref Unsafe . As < byte , AniHeader > ( ref MemoryMarshal . GetReference ( data ) ) ;
30
30
31
- public void WriteTo ( in Stream stream ) => stream . Write ( MemoryMarshal . AsBytes ( MemoryMarshal . CreateReadOnlySpan ( in this , 1 ) ) ) ;
31
+ public void WriteTo ( Stream stream ) => stream . Write ( MemoryMarshal . AsBytes ( MemoryMarshal . CreateReadOnlySpan ( in this , 1 ) ) ) ;
32
32
}
33
33
34
34
/// <summary>
You can’t perform that action at this time.
0 commit comments