From 7513a9e1b01f4b306062cff4f62eee460bb5bfbc Mon Sep 17 00:00:00 2001 From: ghazi Date: Wed, 30 Sep 1998 16:34:45 +0000 Subject: Warning fixes: * actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to ensure enough bits for calculation. * ch-tree.h (check_text_length): Remove unused parameter. * convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to function sprintf into the appropriate type for printing. * decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the format specifier. (print_mode): Likewise. (init_decl_processing): Cast the arguments of bcopy/bzero to char *. * grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as the format specifier. * inout.c (check_text_length): Remove unused parameter `type'. (build_chill_associate): Initialize variables `arg1', `arg2', `arg3', `arg4' and `arg5'. (build_chill_modify): Likewise. (scanformcont): Change type of variable `curr' to `unsigned char'. * lex.c (maybe_downcase): Cast the argument of `tolower' to `unsigned char'. * satisfy.c (satisfy): Remove unused parameter in call to `check_text_length'. * tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT as a `long' in call to function `error'. (decl_tasking_code_variable): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22679 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ch/ch-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ch/ch-tree.h') diff --git a/gcc/ch/ch-tree.h b/gcc/ch/ch-tree.h index ae43dd924ac..c555677cee6 100644 --- a/gcc/ch/ch-tree.h +++ b/gcc/ch/ch-tree.h @@ -1005,7 +1005,7 @@ extern tree build_chill_writerecord PROTO((tree, tree)); extern tree build_chill_writetext PROTO((tree, tree)); extern void build_enum_tables PROTO((void)); extern tree build_text_mode PROTO((tree, tree, int)); -extern tree check_text_length PROTO((tree, tree)); +extern tree check_text_length PROTO((tree)); extern void init_access_location PROTO((tree, tree)); extern void init_text_location PROTO((tree, tree)); extern void inout_init PROTO((void)); -- cgit v1.2.1