diff --git a/SpineViewer/Spine/SkeletonConverter.cs b/SpineViewer/Spine/SkeletonConverter.cs index d0bf83c..41b7e52 100644 --- a/SpineViewer/Spine/SkeletonConverter.cs +++ b/SpineViewer/Spine/SkeletonConverter.cs @@ -209,7 +209,7 @@ namespace SpineViewer.Spine protected Stream output; public BinaryWriter(Stream output) { this.output = output; } - public void Write(int val) => output.WriteByte((byte)val); + public void Write(byte val) => output.WriteByte(val); public void WriteByte(byte val) => output.WriteByte(val); public void WriteUByte(byte val) => output.WriteByte(val); public void WriteSByte(sbyte val) => output.WriteByte((byte)val);