diff options
author | Roy.Li <rongqing.li@windriver.com> | 2012-07-10 17:27:00 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-16 08:31:40 -0700 |
commit | 0a1d842e2db63265a6a6708b1101e1f52f223fc9 (patch) | |
tree | e2506fc368272eaf61282cfd6496ae544abc32a2 /scripts | |
parent | 6facee8443966b646cd1e72f14ae13e58a13f621 (diff) | |
download | openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.tar.gz openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.tar.bz2 openembedded-core-0a1d842e2db63265a6a6708b1101e1f52f223fc9.zip |
slang: change char type to signed char in macros
Fix [YOCTO 2726]
C language has 3 distinct char types:
char
unsigned char
signed char
A char has the same range of values as signed char on X86,
but same as unsigned char on ARM which made Slang's typecast()
and array_sort() unable to work for char value on ARM, since
Slang is assuming "char" as "signed char".
Now we change "char" as "signed char" explicitly in
util/mkslarith2.sl, and use it to regenerate src/slarith2.inc
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions