summaryrefslogtreecommitdiff
path: root/gcc/config/i386/ptx4-i.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/ptx4-i.h')
-rw-r--r--gcc/config/i386/ptx4-i.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/i386/ptx4-i.h b/gcc/config/i386/ptx4-i.h
index 6b0a49ba616..a8594a2cef0 100644
--- a/gcc/config/i386/ptx4-i.h
+++ b/gcc/config/i386/ptx4-i.h
@@ -121,12 +121,13 @@ do { long value[3]; \
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \
{ \
- register unsigned char *_ascii_bytes = (unsigned char *) (STR); \
- register unsigned char *limit = _ascii_bytes + (LENGTH); \
+ register const unsigned char *_ascii_bytes = \
+ (const unsigned char *) (STR); \
+ register const unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \
for (; _ascii_bytes < limit; _ascii_bytes++) \
{ \
- register unsigned char *p; \
+ register const unsigned char *p; \
if (bytes_in_chunk >= 64) \
{ \
fputc ('\n', (FILE)); \