summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-11 19:09:05 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-11 19:09:05 +0000
commitff831d3cd78569fa257369a424d4ef7b8f7da3a4 (patch)
treecfb7dbd5f7a9aa2f333ac3eadac006dbe82c1e77 /gcc/varasm.c
parent51e3e9c5e1d4973c131d272b26ed5f2959bf0589 (diff)
downloadgcc-ff831d3cd78569fa257369a424d4ef7b8f7da3a4.tar.gz
* varasm.c (elf_record_gcc_switches): Cast second argument of
ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119744 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 50487d283ff..9d5c838b59b 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -6265,14 +6265,14 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
snprintf (buffer + len, sizeof buffer - len, " %s", name);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
- ASM_OUTPUT_SKIP (asm_out_file, 1L);
+ ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
previous_name_held_back = FALSE;
}
else
{
strncpy (buffer, name, sizeof buffer);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
- ASM_OUTPUT_SKIP (asm_out_file, 1L);
+ ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
}
else
@@ -6280,7 +6280,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back)
{
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
- ASM_OUTPUT_SKIP (asm_out_file, 1L);
+ ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
strncpy (buffer, name, sizeof buffer);
@@ -6299,7 +6299,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back)
{
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
- ASM_OUTPUT_SKIP (asm_out_file, 1L);
+ ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
}
else