summaryrefslogtreecommitdiffstats
path: root/byterun/lexing.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/lexing.c')
-rw-r--r--byterun/lexing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/lexing.c b/byterun/lexing.c
index 8242cc7a8..22ef6acde 100644
--- a/byterun/lexing.c
+++ b/byterun/lexing.c
@@ -49,7 +49,7 @@ struct lexing_table {
#if defined(ARCH_BIG_ENDIAN) || SIZEOF_SHORT != 2
#define Short(tbl,n) \
(*((unsigned char *)((tbl) + (n) * 2)) + \
- (*((schar *)((tbl) + (n) * 2 + 1)) << 8))
+ (*((signed char *)((tbl) + (n) * 2 + 1)) << 8))
#else
#define Short(tbl,n) (((short *)(tbl))[(n)])
#endif