]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
varasm.c (elf_record_gcc_switches): Cast second argument of ASM_OUTPUT_SKIP to unsign...
authorAndreas Schwab <schwab@suse.de>
Mon, 11 Dec 2006 19:09:05 +0000 (19:09 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Mon, 11 Dec 2006 19:09:05 +0000 (19:09 +0000)
* varasm.c (elf_record_gcc_switches): Cast second argument of
ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT.

From-SVN: r119744

gcc/ChangeLog
gcc/varasm.c

index 9b4ad41528710eb41a8c178301e69957390c0911..9daaf2f1329d361a7dc502856c4c84d921f7c284 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-11  Andreas Schwab  <schwab@suse.de>
+
+       * varasm.c (elf_record_gcc_switches): Cast second argument of
+       ASM_OUTPUT_POOL_PROLOGUE to unsigned HOST_WIDE_INT.
+
 2006-12-11  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-scalar-evolution.c (scev_const_prop):
index 50487d283ffcf9d92a3b50342887db082a15f98f..9d5c838b59b7a53cdef895967001e1e0476255cd 100644 (file)
@@ -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