Fix some gcc -Wall warnings:
authorIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 22:45:56 +0000 (22:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 22:45:56 +0000 (22:45 +0000)
commitd3c1453d092418631006359069b1d03658ab62b9
treeb7cb72982b511c6d4c4e82c7fb8125a11389a7e5
parent437a04cb407081a2c969c723572fe513a6e834bf
Fix some gcc -Wall warnings:
* nlmconv.c (main): Add casts to avoid warnings.
(alpha_mangle_relocs): Likewise.
* objdump.c (dump_section_stabs): Likewise.
* size.c (print_sysv_format): Likewise.
* srcconv.c (wr_ob): Likewise.
* wrstabs.c (stab_modify_type): Likewise.
(stab_variable): Likewise.
* nlmconv.c (main): Initialize variables to avoid warnings.
* nm.c (sort_symbols_by_size): Likewise.
* objdump.c (disassemble_bytes): Likewise.
* wrstabs.c (stab_end_class_type): Likewise.
* coffgrok.c (do_sections_p2): Change j to unsigned int.
(do_lines): Change l to unsigned int.
* nlmheader.y (yylex): Change i to unsigned int.
* nm.c (print_symbol): Change j to long.
* size.c (lprint_number): Comment out.
* srconv.c (wr_ob): Change i to bfd_size_type.
* sysdump.c (unit_info_list): Comment out.
(object_body_list, program_structure, debug_list): Likewise.
* sysinfo.y (yyerror): Return value.
binutils/ChangeLog
binutils/coffgrok.c