Module Name:    src
Committed By:   dholland
Date:           Sat Jul  4 01:44:28 UTC 2009

Modified Files:
        src/games/hunt/hunt: hunt.c

Log Message:
Remove two more bogus casts. These *do* create object diffs on amd64,
for no clear reason, but it looks like the diffs are harmless.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/hunt/hunt/hunt.c
diff -u src/games/hunt/hunt/hunt.c:1.29 src/games/hunt/hunt/hunt.c:1.30
--- src/games/hunt/hunt/hunt.c:1.29	Sat Jul  4 01:23:55 2009
+++ src/games/hunt/hunt/hunt.c	Sat Jul  4 01:44:28 2009
@@ -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 @@
 	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 */

Reply via email to