From 39f9f39190717de63ab3318596c89156e3b751b4 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 11 Jun 2003 09:51:56 +0000 Subject: [PATCH] Make this work on 64 bit big endian platforms. --- hunt/hunt/connect.c | 8 ++++---- 1 file 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 #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()); -- 2.47.1