From 8dbc7c6c1d3c43ac8ba59d00ac336592ff120cbf Mon Sep 17 00:00:00 2001 From: badlogic Date: Fri, 4 Nov 2016 15:54:32 +0100 Subject: [PATCH] [c] Closes #709, Marmelade SDK adds wonky compiler flags that make unsigned types out of signed ones... --- spine-c/src/spine/SkeletonBinary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-c/src/spine/SkeletonBinary.c b/spine-c/src/spine/SkeletonBinary.c index 9e7a3cd16..7c7543755 100644 --- a/spine-c/src/spine/SkeletonBinary.c +++ b/spine-c/src/spine/SkeletonBinary.c @@ -97,8 +97,8 @@ static unsigned char readByte (_dataInput* input) { return *input->cursor++; } -static char readSByte (_dataInput* input) { - return (char)readByte(input); +static signed char readSByte (_dataInput* input) { + return (signed char)readByte(input); } static int readBoolean (_dataInput* input) {