From 78e3eed07184d423cdabe6a8baae3edcd47c3dc5 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Mon, 14 Feb 2005 17:42:58 +0000 Subject: Fix most cases where the address of an int is passed to a function expecting a socklen_t * argument. --- libexec/bootpd/bootpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libexec/bootpd') diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index c907ddf98def..239b26780a7c 100644 --- a/libexec/bootpd/bootpd.c +++ b/libexec/bootpd/bootpd.c @@ -185,7 +185,8 @@ main(argc, argv) struct servent *servp; struct hostent *hep; char *stmp; - int n, ba_len, ra_len; + socklen_t ba_len, ra_len; + int n; int nfound; fd_set readfds; int standalone; -- cgit v1.3