diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 13:13:51 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 13:13:51 +0000 |
commit | bd5413c3a7e500fa8c8ccd68a33d2fcc4c172e28 (patch) | |
tree | b77dfbc85a3ad280e488b7840ac42221785e0831 /tools/plink/ldisc.c | |
parent | 87e3509a1a9724e6115385686d9121f6c4a0f473 (diff) | |
parent | 773752eab55047c33bad0d88006bb69f5c601502 (diff) | |
download | vcxsrv-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.c | 2 |
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) {
|