diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-12 14:50:21 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-12 14:50:21 +0000 |
commit | 58c595648f0a056113d52a22270b58dc9c5f2cad (patch) | |
tree | f38d42ef2d82907ebb9e95ca873285b49023c6cc /sys/netinet | |
parent | 67bf9035d9a4a74465aef3bf49753956e78ca718 (diff) |
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')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
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; |