Make the "smallint" type "int" instead of "signed char." This works around an apparent compiler bug where a conditional isn't evaluated correctly.

This commit is contained in:
Stephen Heumann 2014-11-06 13:36:41 -06:00
parent 3b1d003ea7
commit 71b8b67d7d

View File

@ -163,7 +163,7 @@ typedef unsigned long uintptr_t;
/* ---- Size-saving "small" ints (arch-dependent) ----------- */ /* ---- Size-saving "small" ints (arch-dependent) ----------- */
#if defined(i386) || defined(__x86_64__) || defined(__mips__) || defined(__cris__) || defined(__ORCAC__) #if defined(i386) || defined(__x86_64__) || defined(__mips__) || defined(__cris__)
/* add other arches which benefit from this... */ /* add other arches which benefit from this... */
typedef signed char smallint; typedef signed char smallint;
typedef unsigned char smalluint; typedef unsigned char smalluint;