mips16e-extends.c (cksum8): Change return value to signed char.
* gcc.target/mips/mips16e-extends.c (cksum8): Change return value to signed char. From-SVN: r124157
This commit is contained in:
parent
c4da1827ac
commit
4b5f13f327
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-25 Thiemo Seufer <ths@mips.com>
|
||||||
|
|
||||||
|
* gcc.target/mips/mips16e-extends.c (cksum8): Change return
|
||||||
|
value to signed char.
|
||||||
|
|
||||||
2007-04-25 Uros Bizjak <ubizjak@gmail.com>
|
2007-04-25 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
* gcc.target/i386/reload-1.c. Include <stdint.h>. Compile for all
|
* gcc.target/i386/reload-1.c. Include <stdint.h>. Compile for all
|
||||||
|
@ -8,7 +8,7 @@ short cksum16 (unsigned long n)
|
|||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
char cksum8 (unsigned long n)
|
signed char cksum8 (unsigned long n)
|
||||||
{
|
{
|
||||||
unsigned long l;
|
unsigned long l;
|
||||||
l = validate (n, (n >> 8) + (n & 0xff));
|
l = validate (n, (n >> 8) + (n & 0xff));
|
||||||
|
Loading…
Reference in New Issue
Block a user