Cast incoming characters to unsigned char to avoid accidental sign
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 9 Sep 2010 14:32:25 +0000 (14:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 9 Sep 2010 14:32:25 +0000 (14:32 +0000)
commitb96c714ea3802c22f3fe2659c121fd79ce28cbf2
treed29b2961198295c032de4f7e960e7a375945fdc1
parent854caca579339f69e71613fc2778f6f777e7271e
Cast incoming characters to unsigned char to avoid accidental sign
extension. Since ldisc_send() uses bit 8 as an internal flag, we
shouldn't be setting it except when we really want to.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8989 cda61777-01e9-0310-a592-d414129be87e
ldisc.c