From 76f63b88b5274fe80f728b7af04e5bb6df552882 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 4 Jul 2009 01:44:28 +0000 Subject: Remove two more bogus casts. These *do* create object diffs on amd64, for no clear reason, but it looks like the diffs are harmless. --- hunt/hunt/hunt.c | 8 ++++---- 1 file 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 #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 @@ -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 */ -- cgit v1.2.3