From c99d5f7b86b928000b2f260ab9041389d3aeb43a Mon Sep 17 00:00:00 2001 From: jdc Date: Wed, 26 Feb 2003 07:14:44 +0000 Subject: Make this work on sparc64 (don't use long and assume sizeof(long) = 4). Tested against a LE32 system (arm). --- hunt/huntd/answer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hunt/huntd/answer.c') 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 #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 @@ -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 -- cgit v1.2.3