Fix test failure on char-unsigned-by-default architectures (eg. ARM)

(from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722115 )
This commit is contained in:
Rebecca Palmer 2013-11-27 17:00:05 +00:00 committed by James Turner
parent 407c7a10f5
commit 4d931b6109

View File

@ -96,7 +96,7 @@ struct naObj {
#define MAX_STR_EMBLEN 15
struct naStr {
GC_HEADER;
char emblen; /* [0-15], or -1 to indicate "not embedded" */
signed char emblen; /* [0-15], or -1 to indicate "not embedded" */
unsigned int hashcode;
union {
unsigned char buf[16];