From: Rebecca Palmer Date: Wed, 27 Nov 2013 17:00:05 +0000 (+0000) Subject: Fix test failure on char-unsigned-by-default architectures (eg. ARM) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d931b610987b0a62ad4d4677f2147a4cf082538;p=simgear.git Fix test failure on char-unsigned-by-default architectures (eg. ARM) (from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722115 ) --- diff --git a/simgear/nasal/data.h b/simgear/nasal/data.h index a2c023ef..5453d391 100644 --- a/simgear/nasal/data.h +++ b/simgear/nasal/data.h @@ -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];