summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-07-04 01:44:28 +0000
committerdholland <dholland@NetBSD.org>2009-07-04 01:44:28 +0000
commit76f63b88b5274fe80f728b7af04e5bb6df552882 (patch)
treec62ed8ae3076a7c1546ae671b133c6ac34788aec /hunt
parent2ed72a1bcf581a5fd6c51e303cabc53eea8de596 (diff)
downloadbsdgames-darwin-76f63b88b5274fe80f728b7af04e5bb6df552882.tar.gz
bsdgames-darwin-76f63b88b5274fe80f728b7af04e5bb6df552882.tar.zst
bsdgames-darwin-76f63b88b5274fe80f728b7af04e5bb6df552882.zip
Remove two more bogus casts. These *do* create object diffs on amd64,
for no clear reason, but it looks like the diffs are harmless.
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/hunt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index 24abdb5d..4a887795 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.29 2009/07/04 01:23:55 dholland Exp $ */
+/* $NetBSD: hunt.c,v 1.30 2009/07/04 01:44:28 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.29 2009/07/04 01:23:55 dholland Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.30 2009/07/04 01:44:28 dholland Exp $");
#endif /* not lint */
# include <sys/param.h>
@@ -495,14 +495,14 @@ list_drivers()
msg = htons(C_TESTMSG());
for (i = 0; i < brdc; i++) {
test.sin_addr = brdv[i].sin_addr;
- if (sendto(test_socket, (char *) &msg, sizeof msg, 0,
+ if (sendto(test_socket, &msg, sizeof msg, 0,
(struct sockaddr *) &test, DAEMON_SIZE) < 0) {
leave(1, "sendto");
/* NOTREACHED */
}
}
test.sin_addr = local_address;
- if (sendto(test_socket, (char *) &msg, sizeof msg, 0,
+ if (sendto(test_socket, &msg, sizeof msg, 0,
(struct sockaddr *) &test, DAEMON_SIZE) < 0) {
leave(1, "sendto");
/* NOTREACHED */