summaryrefslogtreecommitdiff
path: root/textproc/topic/files/patch-linenoise.c
blob: f0b692915f608c45f959eea355f2fa2430746594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- linenoise.c.orig	2019-05-17 19:45:12 UTC
+++ linenoise.c
@@ -749,7 +749,7 @@ static int linenoiseEdit(int stdin_fd, int stdout_fd, 
 
     if (write(l.ofd,prompt,l.plen) == -1) return -1;
     while(1) {
-        char c;
+        signed char c;
         int nread;
         char seq[3];