summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/playit.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-01-28 03:23:29 +0000
committerdholland <dholland@NetBSD.org>2008-01-28 03:23:29 +0000
commit4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c (patch)
tree18650ae36850c1da11197138ae67b983fdac2708 /hunt/hunt/playit.c
parent1855dcd4d2560ee6a85ee271e81ba19d567dd596 (diff)
downloadbsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.tar.gz
bsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.tar.zst
bsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.zip
clean for WARNS=4
Diffstat (limited to 'hunt/hunt/playit.c')
-rw-r--r--hunt/hunt/playit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c
index 56e1765f..815fbcba 100644
--- a/hunt/hunt/playit.c
+++ b/hunt/hunt/playit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: playit.c,v 1.8 2004/01/27 20:30:29 jsm Exp $ */
+/* $NetBSD: playit.c,v 1.9 2008/01/28 03:23:29 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.8 2004/01/27 20:30:29 jsm Exp $");
+__RCSID("$NetBSD: playit.c,v 1.9 2008/01/28 03:23:29 dholland Exp $");
#endif /* not lint */
# include <sys/file.h>
@@ -113,7 +113,7 @@ playit()
bad_con();
/* NOTREACHED */
}
- if (ntohl(version) != HUNT_VERSION) {
+ if (ntohl(version) != (u_int32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}
@@ -648,7 +648,7 @@ do_message()
bad_con();
/* NOTREACHED */
}
- if (ntohl(version) != HUNT_VERSION) {
+ if (ntohl(version) != (u_int32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}