aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/bad.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-10-12 17:54:46 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-10-12 17:54:46 +0000
commit0816ebdd9b37e9d5c079cab5d527551ea925bc94 (patch)
tree140423aa4a8b4bfa9fb530284e7b241e8c752542 /gcc/f/bad.c
parentf77d8413595228c00d29d96c1631e2f12ea6360b (diff)
downloadgcc-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/bad.c')
-rw-r--r--gcc/f/bad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/bad.c b/gcc/f/bad.c
index a2a4832..8387c4a 100644
--- a/gcc/f/bad.c
+++ b/gcc/f/bad.c
@@ -372,8 +372,8 @@ ffebad_finish ()
ffebadIndex bi;
unsigned short i;
char pointer;
- char c;
- char *s;
+ unsigned char c;
+ unsigned char *s;
char *fn;
static char buf[1024];
int bufi;