summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/sockbuf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/sockbuf.h b/sys/sys/sockbuf.h
index ef80e9c..a31a4d3 100644
--- a/sys/sys/sockbuf.h
+++ b/sys/sys/sockbuf.h
@@ -175,8 +175,7 @@ static __inline
long
sbspace(struct sockbuf *sb)
{
- long bleft;
- long mleft;
+ int bleft, mleft; /* size should match sockbuf fields */
if (sb->sb_flags & SB_STOP)
return(0);
OpenPOWER on IntegriCloud