summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2003-06-11 09:51:56 +0000
committermartin <martin@NetBSD.org>2003-06-11 09:51:56 +0000
commit39f9f39190717de63ab3318596c89156e3b751b4 (patch)
treeb3289e7ce1dada6e1eeefcc8c08daf2eed413cad /hunt
parent4ffd53361b6b205ec42657396dfcfdfd0059f30c (diff)
downloadbsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.tar.gz
bsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.tar.zst
bsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.zip
Make this work on 64 bit big endian platforms.
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/connect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/connect.c b/hunt/hunt/connect.c
index b3fcd7bd..f1443810 100644
--- a/hunt/hunt/connect.c
+++ b/hunt/hunt/connect.c
@@ -1,4 +1,4 @@
-/* $NetBSD: connect.c,v 1.3 1997/10/11 08:13:40 lukem Exp $ */
+/* $NetBSD: connect.c,v 1.4 2003/06/11 09:51:56 martin 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: connect.c,v 1.3 1997/10/11 08:13:40 lukem Exp $");
+__RCSID("$NetBSD: connect.c,v 1.4 2003/06/11 09:51:56 martin Exp $");
#endif /* not lint */
# include "hunt.h"
@@ -20,8 +20,8 @@ do_connect(name, team, enter_status)
char team;
long enter_status;
{
- static long uid;
- static long mode;
+ static int32_t uid;
+ static int32_t mode;
if (uid == 0)
uid = htonl(getuid());