Use "int" rather than "unsigned" as the argument to ssh2_set_window, not
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 6 Aug 2007 20:56:52 +0000 (20:56 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 6 Aug 2007 20:56:52 +0000 (20:56 +0000)
commit9fca3f8c1d548f46bcbcccb7807912049afb456e
treeb39832b8f04c8318a5c9a8bf9dd283bbb24fb09b
parent7646c432cee3ca277363e53a26e9a77f3ecc1693
Use "int" rather than "unsigned" as the argument to ssh2_set_window, not
because it can ever be negative, but because we'll be comparing it with
another int.  This way, C's promotion rules don't bite us and we should
stand slightly more chance of coping with broken servers that overrun our
window.

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