diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-01-04 08:11:13 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-01-04 08:11:13 +0000 |
commit | 47e6be47d2035a88c911b7de0c3b750232758f9b (patch) | |
tree | 46ef80d4c0cd8a7381791500ac467cb657ed6d73 /gcc/cppfiles.c | |
parent | 736b02fdfa3d7c93a3693e2fa41acf6d3d65df8c (diff) | |
download | gcc-47e6be47d2035a88c911b7de0c3b750232758f9b.zip gcc-47e6be47d2035a88c911b7de0c3b750232758f9b.tar.gz gcc-47e6be47d2035a88c911b7de0c3b750232758f9b.tar.bz2 |
Warning fixes:
* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
lang_to_string, type_to_string): Make return type const char*.
(print_symbol): Apply `const' keyword to a char*.
(print_file_desc): Cast structure member `crfd' to ulong when
comparing against one.
* mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
(fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
(progname, input_name): Apply `const' keyword to a char*.
Don't redundantly include sys/stat.h.
(alloc_info): Apply `const' keyword to a char*.
(st_to_string, sc_to_string): Likewise.
(hash_string): Cast variable `hash_string' to a symint_t when
comparing against one.
(add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
Likewise cast it to long when comparing against one.
(add_local_symbol): Apply `const' keyword to a char*.
(add_ext_symbol): Likewise.
(add_unknown_tag): Likewise.
(add_procedure): Cast a printf-style field width to an int.
(add_file): Cast PAGE_USIZE to long when comparing against one
(parse_begin): Cast a printf-style field width to an int.
(parse_bend): Likewise.
(parse_def): Likewise.
(parse_end): Likewise.
(mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
(parse_stabs_common): Fix format specifier.
(parse_input): Change type of variable `i' to Size_t.
(write_object): Fix arguments to match format specifiers.
Cast variable `num_write' to long when comparing against one.
(read_seek): Cast variable `sys_read' to symint_t when comparing
against one. Fix arguments to match format specifiers. Cast
variable `size' to long when comparing against one.
(copy_object): Cast result of `sizeof' to int when comparing
against one. Fix arguments to match format specifiers. Cast
variable `ifd' to long when comparing against a signed value.
Likewise, likewise.
From-SVN: r24479
Diffstat (limited to 'gcc/cppfiles.c')
0 files changed, 0 insertions, 0 deletions