diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 12:38:01 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 12:38:01 +0000 |
commit | 491a69769cb9db97e6566679b6ac0887bdda3292 (patch) | |
tree | a33f1caa6affb164e64ac463b53cf747159532aa /tools/plink/ldisc.c | |
parent | 79b0bee7c7af3c5035cddde18497e54d38cf8dbc (diff) | |
download | vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.tar.gz vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.tar.bz2 vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.zip |
Updated to revision 9025 of putty
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) {
|