mirror of git://gcc.gnu.org/git/gcc.git
* pa.c (output_ascii): Cast `p' to unsigned char.
From-SVN: r47504
This commit is contained in:
parent
58d07d8f3e
commit
6b5ffd4e3e
|
|
@ -1,3 +1,7 @@
|
||||||
|
2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
|
* pa.c (output_ascii): Cast `p' to unsigned char.
|
||||||
|
|
||||||
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
|
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
|
||||||
|
|
||||||
* config/rs6000/rs6000.c (altivec_expand_builtin): add
|
* config/rs6000/rs6000.c (altivec_expand_builtin): add
|
||||||
|
|
|
||||||
|
|
@ -2539,7 +2539,7 @@ output_ascii (file, p, size)
|
||||||
int io = 0;
|
int io = 0;
|
||||||
for (io = 0, co = 0; io < MIN (4, size - i); io++)
|
for (io = 0, co = 0; io < MIN (4, size - i); io++)
|
||||||
{
|
{
|
||||||
register unsigned int c = p[i + io];
|
register unsigned int c = (unsigned char) p[i + io];
|
||||||
|
|
||||||
if (c == '\"' || c == '\\')
|
if (c == '\"' || c == '\\')
|
||||||
partial_output[co++] = '\\';
|
partial_output[co++] = '\\';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue