summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-12-06 01:50:56 +0000
committerthorpej <thorpej@NetBSD.org>2002-12-06 01:50:56 +0000
commit3f9b04e3703127625698c792cbb73e34fbae278d (patch)
tree9d072fc496819bdcedd0600bcdc818a5581f238f /hunt
parentdea17044cc7c872686fc5ac96e59e518340e7f67 (diff)
downloadbsdgames-darwin-3f9b04e3703127625698c792cbb73e34fbae278d.tar.gz
bsdgames-darwin-3f9b04e3703127625698c792cbb73e34fbae278d.tar.zst
bsdgames-darwin-3f9b04e3703127625698c792cbb73e34fbae278d.zip
Avoid strict alias warning.
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/hunt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index d11e628e..058547a2 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.15 2002/09/20 20:58:12 mycroft Exp $ */
+/* $NetBSD: hunt.c,v 1.16 2002/12/06 01:50:56 thorpej Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.15 2002/09/20 20:58:12 mycroft Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.16 2002/12/06 01:50:56 thorpej Exp $");
#endif /* not lint */
# include <sys/param.h>
@@ -446,7 +446,7 @@ list_drivers()
# ifdef BROADCAST
if (initial)
- brdc = broadcast_vec(test_socket, (struct sockaddr **) &brdv);
+ brdc = broadcast_vec(test_socket, (void *) &brdv);
# ifdef SO_BROADCAST
/* Sun's will broadcast even though this option can't be set */