Switch over to using `size_t' for socket address lengths.
[fwd] / inet.c
diff --git a/inet.c b/inet.c
index 7aa8e30..a9a559e 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: inet.c,v 1.2 1999/07/27 18:30:53 mdw Exp $
+ * $Id: inet.c,v 1.3 2000/08/01 17:59:56 mdw Exp $
  *
  * Protocol specific definitions for IPv4 sockets
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: inet.c,v $
+ * Revision 1.3  2000/08/01 17:59:56  mdw
+ * Switch over to using `size_t' for socket address lengths.
+ *
  * Revision 1.2  1999/07/27 18:30:53  mdw
  * Various minor portability fixes.
  *
@@ -244,7 +247,7 @@ static reffd *inet_accept(int fd, addr_opts *ao, const char *desc)
   inet_opts *io = (inet_opts *)ao;
   int nfd;
   id_req q;
-  int lsinsz = sizeof(q.lsin), rsinsz = sizeof(q.rsin);
+  size_t lsinsz = sizeof(q.lsin), rsinsz = sizeof(q.rsin);
 
   /* --- Accept the new connection --- */