]> git.mxchange.org Git - simgear.git/commitdiff
Fix test failure on char-unsigned-by-default architectures (eg. ARM)
authorRebecca Palmer <R.Palmer@bham.ac.uk>
Wed, 27 Nov 2013 17:00:05 +0000 (17:00 +0000)
committerJames Turner <zakalawe@mac.com>
Thu, 19 Dec 2013 15:02:07 +0000 (15:02 +0000)
(from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722115 )

simgear/nasal/data.h

index a2c023ef2fd324e9ca366a3c61ef239d55a38491..5453d39171e1a4367b6c09478a6a8d0526aa9346 100644 (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];