diff options
author | 1998-04-30 06:21:16 +0000 | |
---|---|---|
committer | 1998-04-30 06:21:16 +0000 | |
commit | 48de12951f4425a7c23d0e695d3d51dcf889f285 (patch) | |
tree | 9f9933b2dfe03543338b740f4fc6c80764ba14cd /usr.bin/sed/process.c | |
parent | Updated sparc audio (diff) | |
download | wireguard-openbsd-48de12951f4425a7c23d0e695d3d51dcf889f285.tar.xz wireguard-openbsd-48de12951f4425a7c23d0e695d3d51dcf889f285.zip |
make y command 8 bit clean; Elmar.Bartel@informatik.tu-muenchen.de
Diffstat (limited to 'usr.bin/sed/process.c')
-rw-r--r-- | usr.bin/sed/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 46760aba1dc..7741fe288cb 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.3 1997/09/11 11:21:07 deraadt Exp $ */ +/* $OpenBSD: process.c,v 1.4 1998/04/30 06:21:16 deraadt Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -39,7 +39,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)process.c 8.1 (Berkeley) 6/6/93"; */ -static char *rcsid = "$OpenBSD: process.c,v 1.3 1997/09/11 11:21:07 deraadt Exp $"; +static char *rcsid = "$OpenBSD: process.c,v 1.4 1998/04/30 06:21:16 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -240,7 +240,7 @@ redirect: if (pd) break; for (p = ps, len = psl; --len; ++p) - *p = cp->u.y[*p]; + *p = cp->u.y[(unsigned char)*p]; break; case ':': case '}': |