summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2008-06-12 14:50:20 +0000
committerjsing <jsing@openbsd.org>2008-06-12 14:50:20 +0000
commitd1428addc9c18c075a34f34d805737996c52841d (patch)
tree91552dfe6296e3fc9b265668ce0813c0b1b71409 /sys/netinet/tcp_input.c
parentfix logic (diff)
downloadwireguard-openbsd-d1428addc9c18c075a34f34d805737996c52841d.tar.xz
wireguard-openbsd-d1428addc9c18c075a34f34d805737996c52841d.zip
Fix type difference between function prototype and implementation.
According to millert@ this would have been promoted from a short to an int anyway, since K&R C cannot pass variables that are smaller than an int. ok deraadt@ millert@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 28a0d9cbef1..1caaf2ad3a4 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.215 2008/05/15 19:40:38 markus Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.216 2008/06/12 14:50:20 jsing Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -2869,7 +2869,7 @@ tcp_pulloutofband(so, urgent, m, off)
void
tcp_xmit_timer(tp, rtt)
struct tcpcb *tp;
- short rtt;
+ int rtt;
{
short delta;
short rttmin;