diff options
author | 2013-12-18 16:45:46 +0000 | |
---|---|---|
committer | 2013-12-18 16:45:46 +0000 | |
commit | b94c291db29e8eee7fcb39605dfec84e32b409e7 (patch) | |
tree | 9fdf555dcd21651f416763933113b272f73ee32a | |
parent | Provide a random stackgrap on pthread frames. Use _STACKALIGNBYTES to (diff) | |
download | wireguard-openbsd-b94c291db29e8eee7fcb39605dfec84e32b409e7.tar.xz wireguard-openbsd-b94c291db29e8eee7fcb39605dfec84e32b409e7.zip |
incorrect cast for ctype, spotted and repaired by LEVAI Daniel
-rw-r--r-- | bin/ksh/vi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/vi.c b/bin/ksh/vi.c index 3cebffcf9e1..b31d4af9362 100644 --- a/bin/ksh/vi.c +++ b/bin/ksh/vi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vi.c,v 1.27 2013/12/17 16:37:06 deraadt Exp $ */ +/* $OpenBSD: vi.c,v 1.28 2013/12/18 16:45:46 deraadt Exp $ */ /* * vi command editing @@ -793,8 +793,8 @@ vi_cmd(int argcnt, const char *cmd) if (*cmd == 'c' && (cmd[1]=='w' || cmd[1]=='W') && !isspace((unsigned char)es->cbuf[es->cursor])) { - while ((unsigned char) - isspace(es->cbuf[--ncursor])) + while (isspace( + (unsigned char)es->cbuf[--ncursor])) ; ncursor++; } |