aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/ldisc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-19 13:13:51 +0000
committermarha <marha@users.sourceforge.net>2010-11-19 13:13:51 +0000
commitbd5413c3a7e500fa8c8ccd68a33d2fcc4c172e28 (patch)
treeb77dfbc85a3ad280e488b7840ac42221785e0831 /tools/plink/ldisc.c
parent87e3509a1a9724e6115385686d9121f6c4a0f473 (diff)
parent773752eab55047c33bad0d88006bb69f5c601502 (diff)
downloadvcxsrv-bd5413c3a7e500fa8c8ccd68a33d2fcc4c172e28.tar.gz
vcxsrv-bd5413c3a7e500fa8c8ccd68a33d2fcc4c172e28.tar.bz2
vcxsrv-bd5413c3a7e500fa8c8ccd68a33d2fcc4c172e28.zip
svn merge ^/branches/released .
Diffstat (limited to 'tools/plink/ldisc.c')
-rw-r--r--tools/plink/ldisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/plink/ldisc.c b/tools/plink/ldisc.c
index 20fa3c568..119a02acb 100644
--- a/tools/plink/ldisc.c
+++ b/tools/plink/ldisc.c
@@ -147,7 +147,7 @@ void ldisc_send(void *handle, char *buf, int len, int interactive)
if (EDITING) {
while (len--) {
int c;
- c = *buf++ + keyflag;
+ c = (unsigned char)(*buf++) + keyflag;
if (!interactive && c == '\r')
c += KCTRL('@');
switch (ldisc->quotenext ? ' ' : c) {