Commit dba15dfd by Torbjorn Granlund

(ASM_OUTPUT_ASCII): Cast PTR to unsigned char *.

From-SVN: r4376
parent 4c05b187
...@@ -41,7 +41,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -41,7 +41,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
{ \ { \
unsigned char *s; \ unsigned char *s; \
int i; \ int i; \
for (i = 0, s = (PTR); i < (LEN); s++, i++) \ for (i = 0, s = (unsigned char *)(PTR); i < (LEN); s++, i++) \
{ \ { \
if ((i % 8) == 0) \ if ((i % 8) == 0) \
fputs ("\n\t.byte\t", (FILE)); \ fputs ("\n\t.byte\t", (FILE)); \
......
...@@ -861,7 +861,7 @@ do { union { float f; long l;} tem; \ ...@@ -861,7 +861,7 @@ do { union { float f; long l;} tem; \
{ \ { \
unsigned char *s; \ unsigned char *s; \
int i; \ int i; \
for (i = 0, s = (PTR); i < (LEN); s++, i++) \ for (i = 0, s = (unsigned char *)(PTR); i < (LEN); s++, i++) \
{ \ { \
if ((i % 8) == 0) \ if ((i % 8) == 0) \
fprintf ((FILE),"%s\t.byte\t",(i?"\n":"")); \ fprintf ((FILE),"%s\t.byte\t",(i?"\n":"")); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment