Remove the last change. fil.fr_icode ist char and NOT unsigned char.

Fix pr#3169
This commit is contained in:
veego 1997-01-31 10:10:11 +00:00
parent a2ea85a36d
commit 8a514d0afa
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] ="@(#)parse.c 1.44 6/5/96 (C) 1993-1996 Darren Reed";
static char rcsid[] = "$Id: parse.c,v 1.3 1997/01/29 18:39:47 mark Exp $";
static char rcsid[] = "$Id: parse.c,v 1.4 1997/01/31 10:10:11 veego Exp $";
#endif
extern struct ipopt_names ionames[], secclass[];
@ -111,7 +111,7 @@ char *line;
cpp++;
if (*(*cpp + 11) == '(') {
fil.fr_icode = icmpcode(*cpp + 12);
if (fil.fr_icode == (unsigned char)-1) {
if (fil.fr_icode == -1) {
fprintf(stderr,
"uncrecognised icmp code %s\n",
*cpp + 12);

View File

@ -35,7 +35,7 @@
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] ="@(#)parse.c 1.44 6/5/96 (C) 1993-1996 Darren Reed";
static char rcsid[] = "$Id: parse.c,v 1.3 1997/01/29 18:39:47 mark Exp $";
static char rcsid[] = "$Id: parse.c,v 1.4 1997/01/31 10:10:11 veego Exp $";
#endif
extern struct ipopt_names ionames[], secclass[];
@ -111,7 +111,7 @@ char *line;
cpp++;
if (*(*cpp + 11) == '(') {
fil.fr_icode = icmpcode(*cpp + 12);
if (fil.fr_icode == (unsigned char)-1) {
if (fil.fr_icode == -1) {
fprintf(stderr,
"uncrecognised icmp code %s\n",
*cpp + 12);