diff options
author | dholland <dholland@NetBSD.org> | 2009-07-04 01:23:55 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-04 01:23:55 +0000 |
commit | 2ed72a1bcf581a5fd6c51e303cabc53eea8de596 (patch) | |
tree | 4f9b869117c6f8df50f620e51311650f241eec01 /hunt/hunt/playit.c | |
parent | b4927eeb3c0ce78e92584e8f5c602101445e1cc4 (diff) | |
download | bsdgames-darwin-2ed72a1bcf581a5fd6c51e303cabc53eea8de596.tar.gz bsdgames-darwin-2ed72a1bcf581a5fd6c51e303cabc53eea8de596.tar.zst bsdgames-darwin-2ed72a1bcf581a5fd6c51e303cabc53eea8de596.zip |
Remove bogus casts. Two object file diffs inspected and found to be harmless.
Diffstat (limited to 'hunt/hunt/playit.c')
-rw-r--r-- | hunt/hunt/playit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c index 815fbcba..7583e334 100644 --- a/hunt/hunt/playit.c +++ b/hunt/hunt/playit.c @@ -1,4 +1,4 @@ -/* $NetBSD: playit.c,v 1.9 2008/01/28 03:23:29 dholland Exp $ */ +/* $NetBSD: playit.c,v 1.10 2009/07/04 01:23:55 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: playit.c,v 1.9 2008/01/28 03:23:29 dholland Exp $"); +__RCSID("$NetBSD: playit.c,v 1.10 2009/07/04 01:23:55 dholland Exp $"); #endif /* not lint */ # include <sys/file.h> @@ -109,7 +109,7 @@ playit() int y, x; u_int32_t version; - if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { + if (read(Socket, &version, LONGLEN) != LONGLEN) { bad_con(); /* NOTREACHED */ } @@ -644,7 +644,7 @@ do_message() { u_int32_t version; - if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { + if (read(Socket, &version, LONGLEN) != LONGLEN) { bad_con(); /* NOTREACHED */ } |