summaryrefslogtreecommitdiffstats
path: root/hunt/hunt
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-27 00:36:32 +0000
committerdholland <dholland@NetBSD.org>2009-08-27 00:36:32 +0000
commit3471f21c43d710b74453a2d61af04b91a33789e5 (patch)
tree6b1503779ec5234f0c5c3671ef61e257046b9624 /hunt/hunt
parent27d415afc2438490c618512c840b804dd7f648d8 (diff)
downloadbsdgames-darwin-3471f21c43d710b74453a2d61af04b91a33789e5.tar.gz
bsdgames-darwin-3471f21c43d710b74453a2d61af04b91a33789e5.tar.zst
bsdgames-darwin-3471f21c43d710b74453a2d61af04b91a33789e5.zip
u_int32_t -> uint32_t
Diffstat (limited to 'hunt/hunt')
-rw-r--r--hunt/hunt/playit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c
index a4ef7f6d..bdf89994 100644
--- a/hunt/hunt/playit.c
+++ b/hunt/hunt/playit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: playit.c,v 1.15 2009/08/12 07:42:11 dholland Exp $ */
+/* $NetBSD: playit.c,v 1.16 2009/08/27 00:36:32 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.15 2009/08/12 07:42:11 dholland Exp $");
+__RCSID("$NetBSD: playit.c,v 1.16 2009/08/27 00:36:32 dholland Exp $");
#endif /* not lint */
#include <sys/file.h>
@@ -89,13 +89,13 @@ playit(void)
{
int ch;
int y, x;
- u_int32_t version;
+ uint32_t version;
if (read(Socket, &version, LONGLEN) != LONGLEN) {
bad_con();
/* NOTREACHED */
}
- if (ntohl(version) != (u_int32_t)HUNT_VERSION) {
+ if (ntohl(version) != (uint32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}
@@ -430,13 +430,13 @@ redraw_screen(void)
void
do_message(void)
{
- u_int32_t version;
+ uint32_t version;
if (read(Socket, &version, LONGLEN) != LONGLEN) {
bad_con();
/* NOTREACHED */
}
- if (ntohl(version) != (u_int32_t)HUNT_VERSION) {
+ if (ntohl(version) != (uint32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}