Fix some gcc -Wall warnings:
authorIan Lance Taylor <ian@airs.com>
Sun, 29 Mar 1998 04:15:29 +0000 (04:15 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 29 Mar 1998 04:15:29 +0000 (04:15 +0000)
commit6b84886ad5e6b53e7b3bb6d8c33685614364b58f
treefebee5c105a2f24b54b4dcd198f0083f0afc903d
parentc246596af760bc57c2af7c5a10afbe5ec0dd9fc2
Fix some gcc -Wall warnings:
* cg_arcs.c (num_cycles): Change to unsigned int.
(numarcs): Likewise.
(arc_add): Change maxarcs to unsigned int.
(cg_assemble): Change index to unsigned int.
* cg_arcs.h (num_cycles, numarcs): Update declarations.
* cg_print.c (cg_print): Change index to unsigned int.
(cg_print_index): Change index, nnames, todo, i, and j to unsigned
int.
(cg_print_file_ordering): Change symbol_count and index2 to
unsigned int.
* core.c (symbol_map_count): Change to unsigned int.
(core_create_function_syms): Change j to unsigned int.
(core_create_line_syms): Add cast to avoid warning.
* hist.c (hist_assign_samples): Change j to unsigned int.
(hist_print): Change index to unsigned i nt.  Add cast to avoid
warning.
* sym_ids.c (parse_spec): Add casts to avoid warning.
* symtab.c (symtab_finalize): Change j to unsigned int.
(sym_lookup): Update printf format strings.
* symtab.h (Sym_Table): Change len to unsigned int.
* tahoe.c (tahoe_reladdr): Add casts to avoid warnings.
gprof/ChangeLog
gprof/cg_arcs.c
gprof/cg_arcs.h
gprof/cg_print.c
gprof/core.c
gprof/hist.c
gprof/sym_ids.c
gprof/symtab.c
gprof/symtab.h
gprof/tahoe.c