]> gcc.gnu.org Git - gcc.git/commitdiff
(ASM_OUTPUT_ASCII): Cast PTR to unsigned char *.
authorTorbjorn Granlund <tege@gnu.org>
Fri, 7 May 1993 02:57:20 +0000 (02:57 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Fri, 7 May 1993 02:57:20 +0000 (02:57 +0000)
From-SVN: r4376

gcc/config/clipper/clix.h
gcc/config/we32k/we32k.h

index 2e780d47878982ec4d69fade3e19e12cbd0d4592..0f045de488dd918f1c2941fe736744756d5a68d5 100644 (file)
@@ -41,7 +41,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 {                                                      \
   unsigned char *s;                                    \
   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)                                        \
        fputs ("\n\t.byte\t", (FILE));                  \
index 0eee791cbed762f6b37995e7867802bcfa2c7b32..d133e48575592917a428dc29900332db8af12e16 100644 (file)
@@ -861,7 +861,7 @@ do { union { float f; long l;} tem;                         \
 {                                                      \
   unsigned char *s;                                    \
   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)                                        \
        fprintf ((FILE),"%s\t.byte\t",(i?"\n":""));     \
This page took 0.064934 seconds and 5 git commands to generate.