i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes before passing it to ASM_OUTPUT_LIMITED_STRING.

* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes
	before passing it to ASM_OUTPUT_LIMITED_STRING.

From-SVN: r190441
This commit is contained in:
Nick Clifton 2012-08-16 10:41:44 +00:00 committed by Nick Clifton
parent c0e2141abe
commit ca9b1cd872
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2012-08-16 Nick Clifton <nickc@redhat.com>
* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes
before passing it to ASM_OUTPUT_LIMITED_STRING.
* config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro.
* config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER).

View File

@ -73,7 +73,7 @@ along with GCC; see the file COPYING3. If not see
fputc ('\n', (FILE)); \
bytes_in_chunk = 0; \
} \
ASM_OUTPUT_LIMITED_STRING ((FILE), _ascii_bytes); \
ASM_OUTPUT_LIMITED_STRING ((FILE), (const char *) _ascii_bytes); \
_ascii_bytes = p; \
} \
else \