]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Cast incoming characters to unsigned char to avoid accidental sign
authorSimon Tatham <anakin@pobox.com>
Thu, 9 Sep 2010 14:32:25 +0000 (14:32 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 9 Sep 2010 14:32:25 +0000 (14:32 +0000)
commit7531c7d3d49cfa774f6940e69d6210e1565979ad
treed29b2961198295c032de4f7e960e7a375945fdc1
parentcda613000acdc4c5f9555c821ef3463664eebda9
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.

[originally from svn r8989]
ldisc.c