From 58c595648f0a056113d52a22270b58dc9c5f2cad Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Thu, 12 Jun 2008 14:50:21 +0000 Subject: 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@ --- sys/netinet/tcp_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet') 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; -- cgit v1.2.3