From 972c977c65e44f2960c35c77cff564c6cc8990a1 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 19 Apr 1997 06:06:06 +0000 Subject: [PATCH] Change booleans from char to int so that comparisons against negative values work as expected on systems with unsigned chars. --- usr.bin/tip/tip.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/tip/tip.h b/usr.bin/tip/tip.h index 629ff1b5fda0..343a009e8977 100644 --- a/usr.bin/tip/tip.h +++ b/usr.bin/tip/tip.h @@ -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