]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Make the outgoing SSH2 sequence number unsigned, so as to avoid depending
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 19 Jan 2005 12:34:52 +0000 (12:34 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 19 Jan 2005 12:34:52 +0000 (12:34 +0000)
on overflow behaviour of signed integers.

[originally from svn r5142]

ssh.c

diff --git a/ssh.c b/ssh.c
index b986c1eb1a3de8c61b17daddc06d029e3af2bd38..bf223bcd1c35e85f830db756cccf1831d4c849a7 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;