diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-10-12 17:54:46 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-10-12 17:54:46 +0000 |
commit | 0816ebdd9b37e9d5c079cab5d527551ea925bc94 (patch) | |
tree | 140423aa4a8b4bfa9fb530284e7b241e8c752542 /gcc/f/implic.c | |
parent | f77d8413595228c00d29d96c1631e2f12ea6360b (diff) | |
download | gcc-0816ebdd9b37e9d5c079cab5d527551ea925bc94.zip gcc-0816ebdd9b37e9d5c079cab5d527551ea925bc94.tar.gz gcc-0816ebdd9b37e9d5c079cab5d527551ea925bc94.tar.bz2 |
Warning fixes:
* bad.c (ffebad_finish): Change type of variable `c' to unsigned
char, change type of variable `s' to unsigned char *.
* com.c (ffecom_symbol_null_): Add missing initializers.
* fini.c (MAXNAMELEN): Undef it before defining.
* implic.c (ffeimplic_lookup_): Change type of parameter `c' to
unsigned char.
* intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
to (unsigned char).
* lex.c (ffelex_splice_tokens): Change type of variable `p' to
unsigned char *.
(ffelex_token_name_from_names): Cast the argument of
`ffelex_is_firstnamechar' to (unsigned char).
(ffelex_token_names_from_names): Likewise.
(ffelex_token_new_name): Likewise.
(ffelex_token_new_names): Likewise.
* malloc.c (malloc_root_): Add missing initializer.
* stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
(ffestb_else) Likewise.
(ffestb_else3_) Likewise.
(ffestb_endxyz) Likewise.
(ffestb_goto) Likewise.
(ffestb_let) Likewise.
(ffestb_varlist) Likewise.
(ffestb_R522) Likewise.
(ffestb_R528) Likewise.
(ffestb_R834) Likewise.
(ffestb_R835) Likewise.
(ffestb_R838) Likewise.
(ffestb_R1102) Likewise.
(ffestb_blockdata) Likewise.
(ffestb_R1212) Likewise.
(ffestb_R810) Likewise.
(ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
to (unsigned char).
(ffestb_V014): Change type of variable `p' to unsigned char *.
(ffestb_dummy) Likewise.
(ffestb_R524) Likewise.
(ffestb_R547) Likewise.
(ffestb_decl_chartype) Likewise.
(ffestb_decl_dbltype) Likewise.
(ffestb_decl_gentype) Likewise.
(ffestb_decl_entsp_2_) Likewise.
(ffestb_V027) Likewise.
(ffestb_decl_R539) Likewise.
* top.c (ffe_decode_option): Mark parameter `argc' with
ATTRIBUTE_UNUSED.
* where.c (ffewhere_unknown_line_): Add missing initializers.
From-SVN: r23030
Diffstat (limited to 'gcc/f/implic.c')
-rw-r--r-- | gcc/f/implic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/implic.c b/gcc/f/implic.c index bee8edf..b0271e8 100644 --- a/gcc/f/implic.c +++ b/gcc/f/implic.c @@ -73,7 +73,7 @@ static struct _ffeimplic_ ffeimplic_table_['z' - 'A' + 1]; /* Static functions (internal). */ -static ffeimplic_ ffeimplic_lookup_ (char c); +static ffeimplic_ ffeimplic_lookup_ (unsigned char c); /* Internal macros. */ @@ -89,7 +89,7 @@ static ffeimplic_ ffeimplic_lookup_ (char c); data type. */ static ffeimplic_ -ffeimplic_lookup_ (char c) +ffeimplic_lookup_ (unsigned char c) { /* NOTE: This is definitely ASCII-specific!! */ if (ISALPHA (c) || (c == '_')) |