diff options
author | ache <ache@FreeBSD.org> | 1997-06-27 11:50:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-27 11:50:56 +0000 |
commit | 21e75aae3104eb74e54c62aaf5c810755d92d17e (patch) | |
tree | c115335d4586e736fda1900f600c892e54c4a7db /lib/libedit/vi.c | |
parent | 189c9c5d470c401df32c18a99d4ce6ae09571f19 (diff) | |
download | FreeBSD-src-21e75aae3104eb74e54c62aaf5c810755d92d17e.zip FreeBSD-src-21e75aae3104eb74e54c62aaf5c810755d92d17e.tar.gz |
ctype: portability, sign extension and cleanup fixes
Diffstat (limited to 'lib/libedit/vi.c')
-rw-r--r-- | lib/libedit/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c index a9e6111..3a8ef05 100644 --- a/lib/libedit/vi.c +++ b/lib/libedit/vi.c @@ -277,7 +277,7 @@ vi_change_case(el, c) int c; { if (el->el_line.cursor < el->el_line.lastchar) { - c = *el->el_line.cursor & 0xFF; + c = (unsigned char)*el->el_line.cursor; if (isupper(c)) *el->el_line.cursor++ = tolower(c); else if (islower(c)) |