From 03a2de3818d3547af96f80c072688c6fdd6c6fe1 Mon Sep 17 00:00:00 2001 From: stefanf 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/bootpd.c') diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index c907ddf..239b267 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.1