Change booleans from char to int so that comparisons against negative
values work as expected on systems with unsigned chars.
This commit is contained in:
parent
4e82c2acc2
commit
972c977c65
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tip.h,v 1.5 1996/12/29 10:34:11 cgd Exp $ */
|
||||
/* $NetBSD: tip.h,v 1.6 1997/04/19 06:06:06 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -77,8 +77,8 @@ char *HO; /* host name */
|
|||
long BR; /* line speed for conversation */
|
||||
long FS; /* frame size for transfers */
|
||||
|
||||
char DU; /* this host is dialed up */
|
||||
char HW; /* this device is hardwired, see hunt.c */
|
||||
int DU; /* this host is dialed up */
|
||||
int HW; /* this device is hardwired, see hunt.c */
|
||||
char *ES; /* escape character */
|
||||
char *EX; /* exceptions */
|
||||
char *FO; /* force (literal next) char*/
|
||||
|
@ -88,7 +88,7 @@ char *PR; /* remote prompt */
|
|||
long DL; /* line delay for file transfers to remote */
|
||||
long CL; /* char delay for file transfers to remote */
|
||||
long ET; /* echocheck timeout */
|
||||
char HD; /* this host is half duplex - do local echo */
|
||||
int HD; /* this host is half duplex - do local echo */
|
||||
|
||||
/*
|
||||
* String value table
|
||||
|
|
Loading…
Reference in New Issue