diff --git a/spine-c/spine-c/src/spine/SkeletonBinary.c b/spine-c/spine-c/src/spine/SkeletonBinary.c index bfd2f971b..f18802d38 100644 --- a/spine-c/spine-c/src/spine/SkeletonBinary.c +++ b/spine-c/spine-c/src/spine/SkeletonBinary.c @@ -554,7 +554,7 @@ static spAnimation *_spSkeletonBinary_readAnimation(spSkeletonBinary *self, cons spAlphaTimeline_setFrame(timeline, frame, time, a); if (frame == frameLast) break; time2 = readFloat(input); - a2 = readByte(input) / 255; + a2 = readByte(input) / 255.0; switch (readSByte(input)) { case CURVE_STEPPED: spCurveTimeline_setStepped(SUPER(timeline), frame);