diff options
-rw-r--r-- | hunt/hunt/playit.c | 8 | ||||
-rw-r--r-- | hunt/huntd/answer.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c index 381ef130..87de7825 100644 --- a/hunt/hunt/playit.c +++ b/hunt/hunt/playit.c @@ -1,4 +1,4 @@ -/* $NetBSD: playit.c,v 1.5 2002/09/20 15:47:19 mycroft Exp $ */ +/* $NetBSD: playit.c,v 1.6 2003/02/26 07:14:44 jdc Exp $ */ /* * Hunt * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold @@ -7,7 +7,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: playit.c,v 1.5 2002/09/20 15:47:19 mycroft Exp $"); +__RCSID("$NetBSD: playit.c,v 1.6 2003/02/26 07:14:44 jdc Exp $"); #endif /* not lint */ # include <sys/file.h> @@ -82,7 +82,7 @@ playit() { int ch; int y, x; - long version; + u_int32_t version; if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { bad_con(); @@ -617,7 +617,7 @@ redraw_screen() void do_message() { - long version; + u_int32_t version; if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { bad_con(); diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index 832f74cc..05ff67f4 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -1,4 +1,4 @@ -/* $NetBSD: answer.c,v 1.4 2002/09/20 20:54:16 mycroft Exp $ */ +/* $NetBSD: answer.c,v 1.5 2003/02/26 07:14:45 jdc Exp $ */ /* * Hunt * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold @@ -7,7 +7,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: answer.c,v 1.4 2002/09/20 20:54:16 mycroft Exp $"); +__RCSID("$NetBSD: answer.c,v 1.5 2003/02/26 07:14:45 jdc Exp $"); #endif /* not lint */ # include <ctype.h> @@ -32,11 +32,11 @@ answer() static int enter_status; static int socklen; static u_long machine; - static u_long uid; + static u_int32_t uid; static SOCKET sockstruct; char *cp1, *cp2; int flags; - long version; + u_int32_t version; int i; # ifdef INTERNET |