blob: 9e65bc346ac6adebf5300f8380e70f1780e4353f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-bb,v 1.2 2015/12/29 23:34:52 dholland Exp $
Use socklen_t.
--- rts/socket.c.orig 2005-03-02 14:17:00.000000000 +0000
+++ rts/socket.c
@@ -278,7 +278,7 @@ Pach ph;
int n, result, my_currfd;
static struct sockaddr sockbuff;
- static size_t buffsize;
+ static socklen_t buffsize;
static fd_set readyset; /* fd's with input available. Fortunately,
* the only place this is assigned to is
* already protected. */
|