diff options
author | martin <martin@NetBSD.org> | 2003-06-11 09:51:56 +0000 |
---|---|---|
committer | martin <martin@NetBSD.org> | 2003-06-11 09:51:56 +0000 |
commit | 39f9f39190717de63ab3318596c89156e3b751b4 (patch) | |
tree | b3289e7ce1dada6e1eeefcc8c08daf2eed413cad | |
parent | 4ffd53361b6b205ec42657396dfcfdfd0059f30c (diff) | |
download | bsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.tar.gz bsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.tar.zst bsdgames-darwin-39f9f39190717de63ab3318596c89156e3b751b4.zip |
Make this work on 64 bit big endian platforms.
-rw-r--r-- | hunt/hunt/connect.c | 8 |
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()); |