aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-08-16 10:41:44 +0000
committerNick Clifton <nickc@gcc.gnu.org>2012-08-16 10:41:44 +0000
commitca9b1cd87255144e5b7a063e5571f0e698dd9702 (patch)
tree23a1469465f20d79e8a65be5af3833e429ffbc43 /gcc/config/i386
parentc0e2141abe1cc3c1bcdef10e2ace8380eb5f6117 (diff)
downloadgcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.zip
gcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.tar.gz
gcc-ca9b1cd87255144e5b7a063e5571f0e698dd9702.tar.bz2
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
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h
index 1bf3feb..78920a9 100644
--- a/gcc/config/i386/i386elf.h
+++ b/gcc/config/i386/i386elf.h
@@ -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 \