diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-23 14:10:59 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-23 14:10:59 +0000 |
commit | 788935aae6a144972fa10842f9031274539ea15b (patch) | |
tree | 674bae9f7be243ff2c0b5081323ea26178135c04 /usr.bin/window/wwclreol.c | |
parent | a1af50e492a0fe75c1d06ee538abb365947fb218 (diff) |
Minor cleanup for 8-bit cleanliness. From der Mouse, PR 1322.
Eliminate the use of char variables for holding booleans.
Compress struct ww somewhat.
Make ww_index and related variables explicitly unsigned.
Diffstat (limited to 'usr.bin/window/wwclreol.c')
-rw-r--r-- | usr.bin/window/wwclreol.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/window/wwclreol.c b/usr.bin/window/wwclreol.c index 53c6a1dd712..1237225b8d2 100644 --- a/usr.bin/window/wwclreol.c +++ b/usr.bin/window/wwclreol.c @@ -1,4 +1,4 @@ -/* $NetBSD: wwclreol.c,v 1.3 1995/09/28 10:35:15 tls Exp $ */ +/* $NetBSD: wwclreol.c,v 1.4 1996/02/08 21:48:58 mycroft Exp $ */ /* * Copyright (c) 1983, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)wwclreol.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$NetBSD: wwclreol.c,v 1.3 1995/09/28 10:35:15 tls Exp $"; +static char rcsid[] = "$NetBSD: wwclreol.c,v 1.4 1996/02/08 21:48:58 mycroft Exp $"; #endif #endif /* not lint */ @@ -84,7 +84,8 @@ char cleared; */ { register union ww_char *s; - register char *smap, *win; + register unsigned char *smap; + register char *win; i = col; smap = &wwsmap[row][i]; |