Make the outgoing SSH2 sequence number unsigned, so as to avoid depending
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Jan 2005 12:34:52 +0000 (12:34 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Jan 2005 12:34:52 +0000 (12:34 +0000)
on overflow behaviour of signed integers.

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

ssh.c

diff --git a/ssh.c b/ssh.c
index b986c1e..bf223bc 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -689,7 +689,7 @@ struct ssh_tag {
     int overall_bufsize;
     int throttled_all;
     int v1_stdout_throttling;
-    int v2_outgoing_sequence;
+    unsigned long v2_outgoing_sequence;
 
     int ssh1_rdpkt_crstate;
     int ssh2_rdpkt_crstate;