]> git.wh0rd.org Git - nano.git/commitdiff
fix bad cast
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 7 Dec 2004 05:02:21 +0000 (05:02 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 7 Dec 2004 05:02:21 +0000 (05:02 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 60cd737111911940432f5dd9eb83dc8178f68491..8764b627886b391bdf5bcec28405bc0d6a7eeb56 100644 (file)
@@ -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