From 10820de4677e4383b5be619058d40be5936b72ff Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 7 Dec 2004 05:02:21 +0000 Subject: [PATCH] fix bad cast git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 60cd7371..8764b627 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3594,7 +3594,7 @@ void do_output(int *kbinput, size_t kbinput_len) } else { #endif key_len = 1; - key[0] = (char)kbinput[i]; + key[0] = (unsigned char)kbinput[i]; #ifdef NANO_WIDE } #endif -- 2.39.5