mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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:
parent
3b1d003ea7
commit
71b8b67d7d
@ -163,7 +163,7 @@ typedef unsigned long uintptr_t;
|
||||
|
||||
/* ---- 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... */
|
||||
typedef signed char smallint;
|
||||
typedef unsigned char smalluint;
|
||||
|
Loading…
Reference in New Issue
Block a user