diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-25 05:20:52 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-25 05:20:52 +0000 |
commit | 239fe4a2d73def9ecb8e89bc11bc5d04f9b2ab2c (patch) | |
tree | 5d685521bf0dbd755b5eb4c7a99da8ecb23964dd | |
parent | 16e37dd98b13e4a82e38c19599a5e85f648c38aa (diff) |
Must use lmin() not min() when comparing longs. Fixes alpha
-rw-r--r-- | sys/netinet/tcp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index b84d7e2879c..91898d5b140 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.13 1998/11/18 21:13:06 provos Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.14 1998/11/25 05:20:51 millert Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -267,7 +267,7 @@ again: #ifdef TCP_SACK if (!sack_rxmit) { #endif - len = min(so->so_snd.sb_cc, win) - off; + len = lmin(so->so_snd.sb_cc, win) - off; #if defined(TCP_SACK) && defined(TCP_FACK) /* |