aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
committerAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
commit0e1a166b287f476e03396c78184211720765aa5e (patch)
tree95ac560c3119f811766dd388976a9dbeec600bf1 /gas/dwarf2dbg.c
parente59b4dfbd29ce7a0dc6f84fdb58d16cb31c988d8 (diff)
downloadgdb-0e1a166b287f476e03396c78184211720765aa5e.zip
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.gz
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.bz2
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
* write.c (set_symtab): Update bfd_alloc declaration. Use a temp var to ensure bfd_alloc arg is the right type. (write_object_file): Cast args of bfd_seek. Replace bfd_write with bfd_bwrite. * config/obj-coff.c: Replace calls to bfd_write with calls to bfd_bwrite. Cast args of bfd_seek. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned warning. * config/tc-mn10300.c (set_arch_mach): Make param unsigned. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with call to bfd_bread.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 094a2cd..55a5205 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -345,7 +345,7 @@ dwarf2_directive_file (dummy)
return;
}
- if (num < files_in_use && files[num].filename != 0)
+ if (num < (int) files_in_use && files[num].filename != 0)
{
as_bad (_("file number %ld already allocated"), (long) num);
return;