summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-01 18:18:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-01 18:18:57 +0000
commitd5bbae0ace3dcb8c40cb2a5c83451b79622a88cf (patch)
treed4950715fe17aa316bb306c022d798164b83e636 /usr.bin/ssh/packet.c
parent6ccebfddaac0721e378cde5ed1ab2d5dfc187ba3 (diff)
s/long/int/
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r--usr.bin/ssh/packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index 4bd50e7fc19..f6bf5f85d1a 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -15,7 +15,7 @@ with the other side. This same code is used both on client and server side.
*/
#include "includes.h"
-RCSID("$Id: packet.c,v 1.6 1999/09/30 05:53:04 deraadt Exp $");
+RCSID("$Id: packet.c,v 1.7 1999/10/01 18:18:40 deraadt Exp $");
#include "xmalloc.h"
#include "buffer.h"
@@ -294,7 +294,7 @@ packet_send()
{
char buf[8], *cp;
int i, padding, len;
- unsigned long checksum;
+ unsigned int checksum;
u_int32_t rand = 0;
/* If using packet compression, compress the payload of the outgoing
@@ -437,7 +437,7 @@ packet_read_poll(int *payload_len_ptr)
unsigned int len, padded_len;
unsigned char *ucp;
char buf[8], *cp;
- unsigned long checksum, stored_checksum;
+ unsigned int checksum, stored_checksum;
restart: